[INFO] cloning repository https://github.com/april-ivy/Apwil
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/april-ivy/Apwil" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapril-ivy%2FApwil", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapril-ivy%2FApwil'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b8e1c1009c614fbb9e5c1859d3004f741d31716f
[INFO] fixing april-ivy/Apwil against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapril-ivy%2FApwil" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/april-ivy/Apwil
[INFO] finished tweaking git repo https://github.com/april-ivy/Apwil
[INFO] tweaked toml for git repo https://github.com/april-ivy/Apwil written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/april-ivy/Apwil on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/april-ivy/Apwil already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded iced-x86 v1.21.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 61085093ee634e0d39deae6d4aa3b6b8130c7775e6cc8ddc1ec5b06d67bd5d08
[INFO] running `Command { std: "docker" "start" "61085093ee634e0d39deae6d4aa3b6b8130c7775e6cc8ddc1ec5b06d67bd5d08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "61085093ee634e0d39deae6d4aa3b6b8130c7775e6cc8ddc1ec5b06d67bd5d08" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "61085093ee634e0d39deae6d4aa3b6b8130c7775e6cc8ddc1ec5b06d67bd5d08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "61085093ee634e0d39deae6d4aa3b6b8130c7775e6cc8ddc1ec5b06d67bd5d08" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking apwil v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: apwil only supports windows on x86_64
[INFO] [stdout]  --> src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | compile_error!("apwil only supports windows on x86_64");
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]   --> src/error.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |     use windows_sys::Win32::System::Diagnostics::Debug::{
[INFO] [stdout]    |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]  --> src/render/com.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use windows_sys::Win32::System::LibraryLoader::{
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]  --> src/render/win.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use windows_sys::Win32::UI::WindowsAndMessaging::*;
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]  --> src/render/d3d11.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use windows_sys::Win32::Foundation::HWND;
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]  --> src/render/d3d12.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use windows_sys::Win32::Foundation::HWND;
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]  --> src/ffi.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use windows_sys::Win32::Foundation::{
[INFO] [stdout]   |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]   --> src/ffi.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use windows_sys::Win32::Security::SECURITY_ATTRIBUTES;
[INFO] [stdout]    |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]   --> src/ffi.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub use windows_sys::Win32::System::Diagnostics::Debug::*;
[INFO] [stdout]    |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]   --> src/ffi.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use windows_sys::Win32::System::Diagnostics::ToolHelp::*;
[INFO] [stdout]    |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]   --> src/ffi.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub use windows_sys::Win32::System::LibraryLoader::*;
[INFO] [stdout]    |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]   --> src/ffi.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub use windows_sys::Win32::System::Memory::*;
[INFO] [stdout]    |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]   --> src/ffi.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use windows_sys::Win32::System::SystemInformation::*;
[INFO] [stdout]    |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]   --> src/ffi.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub use windows_sys::Win32::System::Threading::*;
[INFO] [stdout]    |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `iced_x86`
[INFO] [stdout]  --> src/hook/inline.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use iced_x86::{
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `iced_x86`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `iced_x86`, use `cargo add iced_x86` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `super::Pod`
[INFO] [stdout]  --> src/memory/batch.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     Pod,
[INFO] [stdout]   |     ^^^ no `Pod` in `memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `super::Pod`
[INFO] [stdout]  --> src/memory/ptr.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     Pod,
[INFO] [stdout]   |     ^^^ no `Pod` in `memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]    --> src/process/mod.rs:277:13
[INFO] [stdout]     |
[INFO] [stdout] 277 |         use windows_sys::Win32::System::Threading::{
[INFO] [stdout]     |             ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]  --> src/render/win.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use windows_sys::Win32::Foundation::HWND;
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]  --> src/render/win.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use windows_sys::Win32::System::LibraryLoader::GetModuleHandleW;
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]  --> src/render/win.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use windows_sys::Win32::System::Threading::GetCurrentProcessId;
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `bytemuck`
[INFO] [stdout]   --> src/memory/mod.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub use bytemuck::{
[INFO] [stdout]    |         ^^^^^^^^ use of unresolved module or unlinked crate `bytemuck`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `bytemuck`, use `cargo add bytemuck` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `bytemuck` in this scope
[INFO] [stdout]  --> src/math/mat.rs:7:43
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Clone, Copy, Default, PartialEq, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout]   |                                           ^^^^^^^^ use of unresolved module or unlinked crate `bytemuck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `bytemuck` in this scope
[INFO] [stdout]  --> src/math/mat.rs:7:58
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Clone, Copy, Default, PartialEq, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout]   |                                                          ^^^^^^^^ use of unresolved module or unlinked crate `bytemuck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `bytemuck` in this scope
[INFO] [stdout]  --> src/math/quat.rs:5:43
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Clone, Copy, Default, PartialEq, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout]   |                                           ^^^^^^^^ use of unresolved module or unlinked crate `bytemuck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `bytemuck` in this scope
[INFO] [stdout]  --> src/math/quat.rs:5:58
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Clone, Copy, Default, PartialEq, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout]   |                                                          ^^^^^^^^ use of unresolved module or unlinked crate `bytemuck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `bytemuck` in this scope
[INFO] [stdout]   --> src/math/vec.rs:14:43
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Clone, Copy, Default, PartialEq, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout]    |                                           ^^^^^^^^ use of unresolved module or unlinked crate `bytemuck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `bytemuck` in this scope
[INFO] [stdout]   --> src/math/vec.rs:14:58
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Clone, Copy, Default, PartialEq, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout]    |                                                          ^^^^^^^^ use of unresolved module or unlinked crate `bytemuck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `bytemuck` in this scope
[INFO] [stdout]   --> src/math/vec.rs:21:43
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[derive(Clone, Copy, Default, PartialEq, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout]    |                                           ^^^^^^^^ use of unresolved module or unlinked crate `bytemuck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `bytemuck` in this scope
[INFO] [stdout]   --> src/math/vec.rs:21:58
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[derive(Clone, Copy, Default, PartialEq, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout]    |                                                          ^^^^^^^^ use of unresolved module or unlinked crate `bytemuck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `bytemuck` in this scope
[INFO] [stdout]   --> src/math/vec.rs:29:43
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[derive(Clone, Copy, Default, PartialEq, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout]    |                                           ^^^^^^^^ use of unresolved module or unlinked crate `bytemuck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `bytemuck` in this scope
[INFO] [stdout]   --> src/math/vec.rs:29:58
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[derive(Clone, Copy, Default, PartialEq, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout]    |                                                          ^^^^^^^^ use of unresolved module or unlinked crate `bytemuck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]   --> src/error.rs:33:29
[INFO] [stdout]    |
[INFO] [stdout] 33 |         unsafe { Error::Win(windows_sys::Win32::Foundation::GetLastError()) }
[INFO] [stdout]    |                             ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: apwil only supports windows on x86_64
[INFO] [stdout]  --> src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | compile_error!("apwil only supports windows on x86_64");
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]   --> src/error.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |     use windows_sys::Win32::System::Diagnostics::Debug::{
[INFO] [stdout]    |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]  --> src/render/com.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use windows_sys::Win32::System::LibraryLoader::{
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]  --> src/render/win.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use windows_sys::Win32::UI::WindowsAndMessaging::*;
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]  --> src/render/d3d11.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use windows_sys::Win32::Foundation::HWND;
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]  --> src/render/d3d12.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use windows_sys::Win32::Foundation::HWND;
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]  --> src/ffi.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use windows_sys::Win32::Foundation::{
[INFO] [stdout]   |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]   --> src/ffi.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use windows_sys::Win32::Security::SECURITY_ATTRIBUTES;
[INFO] [stdout]    |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]   --> src/ffi.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub use windows_sys::Win32::System::Diagnostics::Debug::*;
[INFO] [stdout]    |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]   --> src/ffi.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use windows_sys::Win32::System::Diagnostics::ToolHelp::*;
[INFO] [stdout]    |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]   --> src/ffi.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub use windows_sys::Win32::System::LibraryLoader::*;
[INFO] [stdout]    |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]   --> src/ffi.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub use windows_sys::Win32::System::Memory::*;
[INFO] [stdout]    |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]   --> src/ffi.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use windows_sys::Win32::System::SystemInformation::*;
[INFO] [stdout]    |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]   --> src/ffi.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub use windows_sys::Win32::System::Threading::*;
[INFO] [stdout]    |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `iced_x86`
[INFO] [stdout]  --> src/hook/inline.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use iced_x86::{
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `iced_x86`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `iced_x86`, use `cargo add iced_x86` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `super::Pod`
[INFO] [stdout]  --> src/memory/batch.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     Pod,
[INFO] [stdout]   |     ^^^ no `Pod` in `memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `super::Pod`
[INFO] [stdout]  --> src/memory/ptr.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     Pod,
[INFO] [stdout]   |     ^^^ no `Pod` in `memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]    --> src/process/mod.rs:277:13
[INFO] [stdout]     |
[INFO] [stdout] 277 |         use windows_sys::Win32::System::Threading::{
[INFO] [stdout]     |             ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]  --> src/render/win.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use windows_sys::Win32::Foundation::HWND;
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]  --> src/render/win.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use windows_sys::Win32::System::LibraryLoader::GetModuleHandleW;
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]  --> src/render/win.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use windows_sys::Win32::System::Threading::GetCurrentProcessId;
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `bytemuck`
[INFO] [stdout]   --> src/memory/mod.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub use bytemuck::{
[INFO] [stdout]    |         ^^^^^^^^ use of unresolved module or unlinked crate `bytemuck`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `bytemuck`, use `cargo add bytemuck` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `bytemuck` in this scope
[INFO] [stdout]  --> src/math/mat.rs:7:43
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Clone, Copy, Default, PartialEq, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout]   |                                           ^^^^^^^^ use of unresolved module or unlinked crate `bytemuck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `bytemuck` in this scope
[INFO] [stdout]  --> src/math/mat.rs:7:58
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Clone, Copy, Default, PartialEq, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout]   |                                                          ^^^^^^^^ use of unresolved module or unlinked crate `bytemuck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `bytemuck` in this scope
[INFO] [stdout]  --> src/math/quat.rs:5:43
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Clone, Copy, Default, PartialEq, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout]   |                                           ^^^^^^^^ use of unresolved module or unlinked crate `bytemuck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `bytemuck` in this scope
[INFO] [stdout]  --> src/math/quat.rs:5:58
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Clone, Copy, Default, PartialEq, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout]   |                                                          ^^^^^^^^ use of unresolved module or unlinked crate `bytemuck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `bytemuck` in this scope
[INFO] [stdout]   --> src/math/vec.rs:14:43
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Clone, Copy, Default, PartialEq, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout]    |                                           ^^^^^^^^ use of unresolved module or unlinked crate `bytemuck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `bytemuck` in this scope
[INFO] [stdout]   --> src/math/vec.rs:14:58
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Clone, Copy, Default, PartialEq, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout]    |                                                          ^^^^^^^^ use of unresolved module or unlinked crate `bytemuck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `bytemuck` in this scope
[INFO] [stdout]   --> src/math/vec.rs:21:43
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[derive(Clone, Copy, Default, PartialEq, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout]    |                                           ^^^^^^^^ use of unresolved module or unlinked crate `bytemuck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `bytemuck` in this scope
[INFO] [stdout]   --> src/math/vec.rs:21:58
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[derive(Clone, Copy, Default, PartialEq, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout]    |                                                          ^^^^^^^^ use of unresolved module or unlinked crate `bytemuck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `bytemuck` in this scope
[INFO] [stdout]   --> src/math/vec.rs:29:43
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[derive(Clone, Copy, Default, PartialEq, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout]    |                                           ^^^^^^^^ use of unresolved module or unlinked crate `bytemuck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `bytemuck` in this scope
[INFO] [stdout]   --> src/math/vec.rs:29:58
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[derive(Clone, Copy, Default, PartialEq, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout]    |                                                          ^^^^^^^^ use of unresolved module or unlinked crate `bytemuck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]   --> src/error.rs:33:29
[INFO] [stdout]    |
[INFO] [stdout] 33 |         unsafe { Error::Win(windows_sys::Win32::Foundation::GetLastError()) }
[INFO] [stdout]    |                             ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |         windows_sys::Win32::System::SystemInformation::GetSystemInfo(&mut info);
[INFO] [stdout]     |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |         windows_sys::Win32::System::SystemInformation::GetSystemInfo(&mut info);
[INFO] [stdout]     |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]   --> src/module/mod.rs:62:34
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 Target::Local => windows_sys::Win32::System::LibraryLoader::GetModuleFileNameW(
[INFO] [stdout]    |                                  ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]   --> src/module/mod.rs:68:21
[INFO] [stdout]    |
[INFO] [stdout] 68 |                     windows_sys::Win32::System::ProcessStatus::K32GetModuleFileNameExW(
[INFO] [stdout]    |                     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]   --> src/process/hijack.rs:68:18
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let me = windows_sys::Win32::System::Threading::GetCurrentProcess();
[INFO] [stdout]    |                  ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]   --> src/process/hijack.rs:69:22
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let my_pid = windows_sys::Win32::System::Threading::GetCurrentProcessId() as usize;
[INFO] [stdout]    |                      ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]   --> src/process/hijack.rs:87:29
[INFO] [stdout]    |
[INFO] [stdout] 87 |                     let h = windows_sys::Win32::System::Threading::OpenProcess(
[INFO] [stdout]    |                             ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]    --> src/process/hijack.rs:114:23
[INFO] [stdout]     |
[INFO] [stdout] 114 |             let got = windows_sys::Win32::System::Threading::GetProcessId(dup);
[INFO] [stdout]     |                       ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]   --> src/module/mod.rs:62:34
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 Target::Local => windows_sys::Win32::System::LibraryLoader::GetModuleFileNameW(
[INFO] [stdout]    |                                  ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]   --> src/module/mod.rs:68:21
[INFO] [stdout]    |
[INFO] [stdout] 68 |                     windows_sys::Win32::System::ProcessStatus::K32GetModuleFileNameExW(
[INFO] [stdout]    |                     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]   --> src/process/hijack.rs:68:18
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let me = windows_sys::Win32::System::Threading::GetCurrentProcess();
[INFO] [stdout]    |                  ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]   --> src/process/hijack.rs:69:22
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let my_pid = windows_sys::Win32::System::Threading::GetCurrentProcessId() as usize;
[INFO] [stdout]    |                      ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]   --> src/process/hijack.rs:87:29
[INFO] [stdout]    |
[INFO] [stdout] 87 |                     let h = windows_sys::Win32::System::Threading::OpenProcess(
[INFO] [stdout]    |                             ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]    --> src/process/mod.rs:117:37
[INFO] [stdout]     |
[INFO] [stdout] 117 |                 Target::Local => Ok(windows_sys::Win32::System::Threading::GetCurrentProcessId()),
[INFO] [stdout]     |                                     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]    --> src/process/mod.rs:119:29
[INFO] [stdout]     |
[INFO] [stdout] 119 |                     let v = windows_sys::Win32::System::Threading::GetProcessId(h.raw());
[INFO] [stdout]     |                             ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]    --> src/process/hijack.rs:114:23
[INFO] [stdout]     |
[INFO] [stdout] 114 |             let got = windows_sys::Win32::System::Threading::GetProcessId(dup);
[INFO] [stdout]     |                       ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]    --> src/process/mod.rs:128:39
[INFO] [stdout]     |
[INFO] [stdout] 128 |             Target::Local => unsafe { windows_sys::Win32::System::Threading::GetCurrentProcess() },
[INFO] [stdout]     |                                       ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]    --> src/process/mod.rs:140:21
[INFO] [stdout]     |
[INFO] [stdout] 140 |             let r = windows_sys::Win32::System::Threading::IsWow64Process(self.raw(), &mut w);
[INFO] [stdout]     |                     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]    --> src/process/mod.rs:153:21
[INFO] [stdout]     |
[INFO] [stdout] 153 |             let r = windows_sys::Win32::System::Threading::QueryFullProcessImageNameW(
[INFO] [stdout]     |                     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]    --> src/process/mod.rs:170:17
[INFO] [stdout]     |
[INFO] [stdout] 170 |                 windows_sys::Win32::System::Threading::GetExitCodeProcess(self.raw(), &mut code);
[INFO] [stdout]     |                 ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope
[INFO] [stdout]    --> src/hook/eat.rs:107:52
[INFO] [stdout]     |
[INFO] [stdout] 107 |             if VirtualProtect(slot as *const _, 4, PAGE_READWRITE, &mut old) == 0 {
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope
[INFO] [stdout]    --> src/hook/eat.rs:131:57
[INFO] [stdout]     |
[INFO] [stdout] 131 |             if VirtualProtect(self.slot as *const _, 4, PAGE_READWRITE, &mut old) != 0 {
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_SUSPEND_RESUME` in this scope
[INFO] [stdout]   --> src/hook/freeze.rs:27:34
[INFO] [stdout]    |
[INFO] [stdout] 27 |                     match t.open(THREAD_SUSPEND_RESUME | THREAD_GET_CONTEXT | THREAD_SET_CONTEXT) {
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_GET_CONTEXT` in this scope
[INFO] [stdout]   --> src/hook/freeze.rs:27:58
[INFO] [stdout]    |
[INFO] [stdout] 27 |                     match t.open(THREAD_SUSPEND_RESUME | THREAD_GET_CONTEXT | THREAD_SET_CONTEXT) {
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_SET_CONTEXT` in this scope
[INFO] [stdout]   --> src/hook/freeze.rs:27:79
[INFO] [stdout]    |
[INFO] [stdout] 27 |                     match t.open(THREAD_SUSPEND_RESUME | THREAD_GET_CONTEXT | THREAD_SET_CONTEXT) {
[INFO] [stdout]    |                                                                               ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CONTEXT` in this scope
[INFO] [stdout]   --> src/hook/freeze.rs:47:30
[INFO] [stdout]    |
[INFO] [stdout] 47 |                 let mut ctx: CONTEXT = std::mem::zeroed();
[INFO] [stdout]    |                              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CONTEXT_CONTROL_AMD64` in this scope
[INFO] [stdout]   --> src/hook/freeze.rs:48:36
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 ctx.ContextFlags = CONTEXT_CONTROL_AMD64;
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CONTEXT` in this scope
[INFO] [stdout]   --> src/hook/freeze.rs:67:30
[INFO] [stdout]    |
[INFO] [stdout] 67 |                 let mut ctx: CONTEXT = std::mem::zeroed();
[INFO] [stdout]    |                              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CONTEXT_CONTROL_AMD64` in this scope
[INFO] [stdout]   --> src/hook/freeze.rs:68:36
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 ctx.ContextFlags = CONTEXT_CONTROL_AMD64;
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `EXCEPTION_POINTERS` in this scope
[INFO] [stdout]  --> src/hook/guard.rs:8:46
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub type Cb = unsafe extern "system" fn(*mut EXCEPTION_POINTERS) -> i32;
[INFO] [stdout]   |                                              ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]   --> src/hook/guard.rs:20:26
[INFO] [stdout]    |
[INFO] [stdout] 20 |             let mut mbi: MEMORY_BASIC_INFORMATION = std::mem::zeroed();
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]   --> src/hook/guard.rs:24:37
[INFO] [stdout]    |
[INFO] [stdout] 24 |                 std::mem::size_of::<MEMORY_BASIC_INFORMATION>(),
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl<MEMORY_BASIC_INFORMATION> Guard {
[INFO] [stdout]    |     ++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_GUARD` in this scope
[INFO] [stdout]   --> src/hook/guard.rs:29:39
[INFO] [stdout]    |
[INFO] [stdout] 29 |             let base = mbi.Protect & !PAGE_GUARD;
[INFO] [stdout]    |                                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_GUARD` in this scope
[INFO] [stdout]   --> src/hook/guard.rs:31:62
[INFO] [stdout]    |
[INFO] [stdout] 31 |             if VirtualProtect(addr as *const _, size, base | PAGE_GUARD, &mut old) == 0 {
[INFO] [stdout]    |                                                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_GUARD` in this scope
[INFO] [stdout]   --> src/hook/guard.rs:54:29
[INFO] [stdout]    |
[INFO] [stdout] 54 |                 self.base | PAGE_GUARD,
[INFO] [stdout]    |                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `EXCEPTION_POINTERS` in this scope
[INFO] [stdout]   --> src/hook/hwbp.rs:33:46
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub type Cb = unsafe extern "system" fn(*mut EXCEPTION_POINTERS) -> i32;
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_GET_CONTEXT` in this scope
[INFO] [stdout]   --> src/hook/hwbp.rs:80:29
[INFO] [stdout]    |
[INFO] [stdout] 80 |                     &t.open(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT | THREAD_SUSPEND_RESUME)?,
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_SET_CONTEXT` in this scope
[INFO] [stdout]   --> src/hook/hwbp.rs:80:50
[INFO] [stdout]    |
[INFO] [stdout] 80 |                     &t.open(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT | THREAD_SUSPEND_RESUME)?,
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_SUSPEND_RESUME` in this scope
[INFO] [stdout]   --> src/hook/hwbp.rs:80:71
[INFO] [stdout]    |
[INFO] [stdout] 80 |                     &t.open(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT | THREAD_SUSPEND_RESUME)?,
[INFO] [stdout]    |                                                                       ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_GET_CONTEXT` in this scope
[INFO] [stdout]    --> src/hook/hwbp.rs:117:32
[INFO] [stdout]     |
[INFO] [stdout] 117 |                         t.open(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT | THREAD_SUSPEND_RESUME)
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_SET_CONTEXT` in this scope
[INFO] [stdout]    --> src/hook/hwbp.rs:117:53
[INFO] [stdout]     |
[INFO] [stdout] 117 |                         t.open(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT | THREAD_SUSPEND_RESUME)
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_SUSPEND_RESUME` in this scope
[INFO] [stdout]    --> src/hook/hwbp.rs:117:74
[INFO] [stdout]     |
[INFO] [stdout] 117 |                         t.open(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT | THREAD_SUSPEND_RESUME)
[INFO] [stdout]     |                                                                          ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CONTEXT` in this scope
[INFO] [stdout]    --> src/hook/hwbp.rs:144:22
[INFO] [stdout]     |
[INFO] [stdout] 144 |         let mut ctx: CONTEXT = std::mem::zeroed();
[INFO] [stdout]     |                      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CONTEXT_DEBUG_REGISTERS_AMD64` in this scope
[INFO] [stdout]    --> src/hook/hwbp.rs:145:28
[INFO] [stdout]     |
[INFO] [stdout] 145 |         ctx.ContextFlags = CONTEXT_DEBUG_REGISTERS_AMD64;
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `EXCEPTION_POINTERS` in this scope
[INFO] [stdout]    --> src/hook/hwbp.rs:191:31
[INFO] [stdout]     |
[INFO] [stdout] 191 | pub unsafe fn cont(info: *mut EXCEPTION_POINTERS) -> i32 {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope
[INFO] [stdout]   --> src/hook/iat.rs:98:68
[INFO] [stdout]    |
[INFO] [stdout] 98 | ...                   if VirtualProtect(slot as *const _, 8, PAGE_READWRITE, &mut old) == 0 {
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope
[INFO] [stdout]    --> src/hook/iat.rs:125:57
[INFO] [stdout]     |
[INFO] [stdout] 125 |             if VirtualProtect(self.slot as *const _, 8, PAGE_READWRITE, &mut old) != 0 {
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope
[INFO] [stdout]    --> src/hook/inline.rs:152:56
[INFO] [stdout]     |
[INFO] [stdout] 152 |             if VirtualProtect(target as *const _, len, PAGE_EXECUTE_READWRITE, &mut old) == 0 {
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope
[INFO] [stdout]    --> src/hook/inline.rs:251:59
[INFO] [stdout]     |
[INFO] [stdout] 251 |             if VirtualProtect(self.target as *const _, n, PAGE_EXECUTE_READWRITE, &mut old) == 0 {
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope
[INFO] [stdout]    --> src/hook/inline.rs:265:59
[INFO] [stdout]     |
[INFO] [stdout] 265 |             if VirtualProtect(self.target as *const _, n, PAGE_EXECUTE_READWRITE, &mut old) == 0 {
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SYSTEM_INFO` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:110:23
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let mut info: SYSTEM_INFO = std::mem::zeroed();
[INFO] [stdout]     |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:117:26
[INFO] [stdout]     |
[INFO] [stdout] 117 |             let mut mbi: MEMORY_BASIC_INFORMATION = std::mem::zeroed();
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:121:37
[INFO] [stdout]     |
[INFO] [stdout] 121 |                 std::mem::size_of::<MEMORY_BASIC_INFORMATION>(),
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn alloc<MEMORY_BASIC_INFORMATION>(target: usize) -> Result<usize> {
[INFO] [stdout]     |         ++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_FREE` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:126:29
[INFO] [stdout]     |
[INFO] [stdout] 126 |             if mbi.State == MEM_FREE && mbi.RegionSize as usize >= PAGE {
[INFO] [stdout]     |                             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:130:21
[INFO] [stdout]     |
[INFO] [stdout] 130 |                     MEM_COMMIT | MEM_RESERVE,
[INFO] [stdout]     |                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:130:34
[INFO] [stdout]     |
[INFO] [stdout] 130 |                     MEM_COMMIT | MEM_RESERVE,
[INFO] [stdout]     |                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:131:21
[INFO] [stdout]     |
[INFO] [stdout] 131 |                     PAGE_EXECUTE_READWRITE,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:144:26
[INFO] [stdout]     |
[INFO] [stdout] 144 |             let mut mbi: MEMORY_BASIC_INFORMATION = std::mem::zeroed();
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:148:37
[INFO] [stdout]     |
[INFO] [stdout] 148 |                 std::mem::size_of::<MEMORY_BASIC_INFORMATION>(),
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn alloc<MEMORY_BASIC_INFORMATION>(target: usize) -> Result<usize> {
[INFO] [stdout]     |         ++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_FREE` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:153:29
[INFO] [stdout]     |
[INFO] [stdout] 153 |             if mbi.State == MEM_FREE && mbi.RegionSize as usize >= PAGE {
[INFO] [stdout]     |                             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:157:21
[INFO] [stdout]     |
[INFO] [stdout] 157 |                     MEM_COMMIT | MEM_RESERVE,
[INFO] [stdout]     |                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:157:34
[INFO] [stdout]     |
[INFO] [stdout] 157 |                     MEM_COMMIT | MEM_RESERVE,
[INFO] [stdout]     |                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:158:21
[INFO] [stdout]     |
[INFO] [stdout] 158 |                     PAGE_EXECUTE_READWRITE,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `EXCEPTION_POINTERS` in this scope
[INFO] [stdout]   --> src/hook/veh.rs:13:42
[INFO] [stdout]    |
[INFO] [stdout] 13 | type Fn = unsafe extern "system" fn(*mut EXCEPTION_POINTERS) -> i32;
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `EXCEPTION_POINTERS` in this scope
[INFO] [stdout]   --> src/hook/veh.rs:55:47
[INFO] [stdout]    |
[INFO] [stdout] 55 | unsafe extern "system" fn dispatch(info: *mut EXCEPTION_POINTERS) -> i32 {
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope
[INFO] [stdout]   --> src/hook/vmt.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 46 |                 PAGE_READWRITE,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope
[INFO] [stdout]   --> src/hook/vmt.rs:73:21
[INFO] [stdout]    |
[INFO] [stdout] 73 |                     PAGE_READWRITE,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope
[INFO] [stdout]   --> src/memory/alloc.rs:16:47
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let addr = unsafe { alloc(t, 0, size, MEM_COMMIT | MEM_RESERVE, prot)? };
[INFO] [stdout]    |                                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in this scope
[INFO] [stdout]   --> src/memory/alloc.rs:16:60
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let addr = unsafe { alloc(t, 0, size, MEM_COMMIT | MEM_RESERVE, prot)? };
[INFO] [stdout]    |                                                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope
[INFO] [stdout]   --> src/memory/alloc.rs:21:47
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let a = unsafe { alloc(t, addr, size, MEM_COMMIT | MEM_RESERVE, prot)? };
[INFO] [stdout]    |                                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in this scope
[INFO] [stdout]   --> src/memory/alloc.rs:21:60
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let a = unsafe { alloc(t, addr, size, MEM_COMMIT | MEM_RESERVE, prot)? };
[INFO] [stdout]    |                                                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_RELEASE` in this scope
[INFO] [stdout]   --> src/memory/alloc.rs:57:64
[INFO] [stdout]    |
[INFO] [stdout] 57 |             Target::Local => VirtualFree(addr as *mut _, size, MEM_RELEASE),
[INFO] [stdout]    |                                                                ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_RELEASE` in this scope
[INFO] [stdout]   --> src/memory/alloc.rs:60:73
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 if let Some(st) = super::sys::free(t.raw(), addr, size, MEM_RELEASE) {
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_RELEASE` in this scope
[INFO] [stdout]   --> src/memory/alloc.rs:63:62
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 VirtualFreeEx(t.raw(), addr as *mut _, size, MEM_RELEASE)
[INFO] [stdout]    |                                                              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]    --> src/memory/sys.rs:119:55
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub unsafe fn query(h: HANDLE, addr: usize, mbi: *mut MEMORY_BASIC_INFORMATION) -> Option<i32> {
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]    --> src/memory/sys.rs:129:29
[INFO] [stdout]     |
[INFO] [stdout] 129 |         std::mem::size_of::<MEMORY_BASIC_INFORMATION>(),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub unsafe fn query<MEMORY_BASIC_INFORMATION>(h: HANDLE, addr: usize, mbi: *mut MEMORY_BASIC_INFORMATION) -> Option<i32> {
[INFO] [stdout]     |                    ++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]    --> src/memory/mod.rs:124:21
[INFO] [stdout]     |
[INFO] [stdout] 124 |             let r = windows_sys::Win32::System::Diagnostics::Debug::ReadProcessMemory(
[INFO] [stdout]     |                     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   8 + use std::fmt::Debug;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Debug`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 124 -             let r = windows_sys::Win32::System::Diagnostics::Debug::ReadProcessMemory(
[INFO] [stdout] 124 +             let r = Debug::ReadProcessMemory(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]    --> src/memory/mod.rs:156:21
[INFO] [stdout]     |
[INFO] [stdout] 156 |             let r = windows_sys::Win32::System::Diagnostics::Debug::WriteProcessMemory(
[INFO] [stdout]     |                     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   8 + use std::fmt::Debug;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Debug`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 156 -             let r = windows_sys::Win32::System::Diagnostics::Debug::WriteProcessMemory(
[INFO] [stdout] 156 +             let r = Debug::WriteProcessMemory(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]    --> src/memory/mod.rs:182:56
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub unsafe fn query(t: &Target, addr: usize) -> Result<MEMORY_BASIC_INFORMATION> {
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub unsafe fn query<MEMORY_BASIC_INFORMATION>(t: &Target, addr: usize) -> Result<MEMORY_BASIC_INFORMATION> {
[INFO] [stdout]     |                    ++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]    --> src/memory/mod.rs:184:22
[INFO] [stdout]     |
[INFO] [stdout] 184 |         let mut mbi: MEMORY_BASIC_INFORMATION = std::mem::zeroed();
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]    --> src/memory/mod.rs:189:37
[INFO] [stdout]     |
[INFO] [stdout] 189 |                 std::mem::size_of::<MEMORY_BASIC_INFORMATION>(),
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub unsafe fn query<MEMORY_BASIC_INFORMATION>(t: &Target, addr: usize) -> Result<MEMORY_BASIC_INFORMATION> {
[INFO] [stdout]     |                    ++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]    --> src/memory/mod.rs:200:41
[INFO] [stdout]     |
[INFO] [stdout] 200 |                     std::mem::size_of::<MEMORY_BASIC_INFORMATION>(),
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub unsafe fn query<MEMORY_BASIC_INFORMATION>(t: &Target, addr: usize) -> Result<MEMORY_BASIC_INFORMATION> {
[INFO] [stdout]     |                    ++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]    --> src/process/mod.rs:117:37
[INFO] [stdout]     |
[INFO] [stdout] 117 |                 Target::Local => Ok(windows_sys::Win32::System::Threading::GetCurrentProcessId()),
[INFO] [stdout]     |                                     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE` in this scope
[INFO] [stdout]    --> src/module/mod.rs:163:45
[INFO] [stdout]     |
[INFO] [stdout] 163 |         let snap = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid);
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE32` in this scope
[INFO] [stdout]    --> src/module/mod.rs:163:65
[INFO] [stdout]     |
[INFO] [stdout] 163 |         let snap = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid);
[INFO] [stdout]     |                                                                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MODULEENTRY32W` in this scope
[INFO] [stdout]    --> src/module/mod.rs:168:20
[INFO] [stdout]     |
[INFO] [stdout] 168 |         let mut e: MODULEENTRY32W = std::mem::zeroed();
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MODULEENTRY32W` in this scope
[INFO] [stdout]    --> src/module/mod.rs:169:40
[INFO] [stdout]     |
[INFO] [stdout] 169 |         e.dwSize = std::mem::size_of::<MODULEENTRY32W>() as u32;
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 152 | pub fn list<MODULEENTRY32W>(t: &Target) -> Result<Vec<Module>> {
[INFO] [stdout]     |            ++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in module `crate::ffi`
[INFO] [stdout]    --> src/process/hijack.rs:126:33
[INFO] [stdout]     |
[INFO] [stdout] 126 |         hijack(pid, crate::ffi::PROCESS_ALL_ACCESS)
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^ not found in `crate::ffi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_SUSPEND_RESUME` in this scope
[INFO] [stdout]   --> src/process/thread.rs:27:31
[INFO] [stdout]    |
[INFO] [stdout] 27 |             let h = self.open(THREAD_SUSPEND_RESUME)?;
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_SUSPEND_RESUME` in this scope
[INFO] [stdout]   --> src/process/thread.rs:39:31
[INFO] [stdout]    |
[INFO] [stdout] 39 |             let h = self.open(THREAD_SUSPEND_RESUME)?;
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_GET_CONTEXT` in this scope
[INFO] [stdout]   --> src/process/thread.rs:51:31
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let h = self.open(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT | THREAD_SUSPEND_RESUME)?;
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_SET_CONTEXT` in this scope
[INFO] [stdout]   --> src/process/thread.rs:51:52
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let h = self.open(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT | THREAD_SUSPEND_RESUME)?;
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_SUSPEND_RESUME` in this scope
[INFO] [stdout]   --> src/process/thread.rs:51:73
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let h = self.open(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT | THREAD_SUSPEND_RESUME)?;
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CONTEXT` in this scope
[INFO] [stdout]   --> src/process/thread.rs:53:26
[INFO] [stdout]    |
[INFO] [stdout] 53 |             let mut ctx: CONTEXT = std::mem::zeroed();
[INFO] [stdout]    |                          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CONTEXT_CONTROL_AMD64` in this scope
[INFO] [stdout]   --> src/process/thread.rs:54:32
[INFO] [stdout]    |
[INFO] [stdout] 54 |             ctx.ContextFlags = CONTEXT_CONTROL_AMD64;
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]    --> src/process/mod.rs:119:29
[INFO] [stdout]     |
[INFO] [stdout] 119 |                     let v = windows_sys::Win32::System::Threading::GetProcessId(h.raw());
[INFO] [stdout]     |                             ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_GET_CONTEXT` in this scope
[INFO] [stdout]   --> src/process/thread.rs:72:31
[INFO] [stdout]    |
[INFO] [stdout] 72 |             let h = self.open(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT | THREAD_SUSPEND_RESUME)?;
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_SET_CONTEXT` in this scope
[INFO] [stdout]   --> src/process/thread.rs:72:52
[INFO] [stdout]    |
[INFO] [stdout] 72 |             let h = self.open(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT | THREAD_SUSPEND_RESUME)?;
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_SUSPEND_RESUME` in this scope
[INFO] [stdout]   --> src/process/thread.rs:72:73
[INFO] [stdout]    |
[INFO] [stdout] 72 |             let h = self.open(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT | THREAD_SUSPEND_RESUME)?;
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CONTEXT` in this scope
[INFO] [stdout]   --> src/process/thread.rs:74:26
[INFO] [stdout]    |
[INFO] [stdout] 74 |             let mut ctx: CONTEXT = std::mem::zeroed();
[INFO] [stdout]    |                          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CONTEXT_CONTROL_AMD64` in this scope
[INFO] [stdout]   --> src/process/thread.rs:75:32
[INFO] [stdout]    |
[INFO] [stdout] 75 |             ctx.ContextFlags = CONTEXT_CONTROL_AMD64;
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPTHREAD` in this scope
[INFO] [stdout]   --> src/process/thread.rs:93:45
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let snap = CreateToolhelp32Snapshot(TH32CS_SNAPTHREAD, 0);
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `THREADENTRY32` in this scope
[INFO] [stdout]   --> src/process/thread.rs:98:20
[INFO] [stdout]    |
[INFO] [stdout] 98 |         let mut e: THREADENTRY32 = std::mem::zeroed();
[INFO] [stdout]    |                    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `THREADENTRY32` in this scope
[INFO] [stdout]   --> src/process/thread.rs:99:40
[INFO] [stdout]    |
[INFO] [stdout] 99 |         e.dwSize = std::mem::size_of::<THREADENTRY32>() as u32;
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub fn list<THREADENTRY32>(pid: u32) -> Result<Vec<Thread>> {
[INFO] [stdout]    |            +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPPROCESS` in this scope
[INFO] [stdout]   --> src/process/mod.rs:27:45
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let snap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PROCESSENTRY32W` in this scope
[INFO] [stdout]   --> src/process/mod.rs:32:20
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let mut e: PROCESSENTRY32W = std::mem::zeroed();
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PROCESSENTRY32W` in this scope
[INFO] [stdout]   --> src/process/mod.rs:33:40
[INFO] [stdout]    |
[INFO] [stdout] 33 |         e.dwSize = std::mem::size_of::<PROCESSENTRY32W>() as u32;
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn iter<PROCESSENTRY32W>() -> Result<Vec<Proc>> {
[INFO] [stdout]    |            +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]    --> src/process/mod.rs:128:39
[INFO] [stdout]     |
[INFO] [stdout] 128 |             Target::Local => unsafe { windows_sys::Win32::System::Threading::GetCurrentProcess() },
[INFO] [stdout]     |                                       ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope
[INFO] [stdout]   --> src/process/mod.rs:63:30
[INFO] [stdout]    |
[INFO] [stdout] 63 |         Self::open_with(pid, PROCESS_ALL_ACCESS)
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPPROCESS` in this scope
[INFO] [stdout]   --> src/process/mod.rs:91:49
[INFO] [stdout]    |
[INFO] [stdout] 91 |             let snap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PROCESSENTRY32W` in this scope
[INFO] [stdout]   --> src/process/mod.rs:96:24
[INFO] [stdout]    |
[INFO] [stdout] 96 |             let mut e: PROCESSENTRY32W = std::mem::zeroed();
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PROCESSENTRY32W` in this scope
[INFO] [stdout]   --> src/process/mod.rs:97:44
[INFO] [stdout]    |
[INFO] [stdout] 97 |             e.dwSize = std::mem::size_of::<PROCESSENTRY32W>() as u32;
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 61 | impl<PROCESSENTRY32W> Target {
[INFO] [stdout]    |     +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope
[INFO] [stdout]    --> src/process/mod.rs:285:21
[INFO] [stdout]     |
[INFO] [stdout] 285 |         self.access(PROCESS_ALL_ACCESS)
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope
[INFO] [stdout]    --> src/process/mod.rs:302:44
[INFO] [stdout]     |
[INFO] [stdout] 302 |         let access = self.access.unwrap_or(PROCESS_ALL_ACCESS);
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope
[INFO] [stdout]   --> src/render/win.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |             let wc = WNDCLASSEXW {
[INFO] [stdout]    |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `WNDCLASSEXW` in this scope
[INFO] [stdout]   --> src/render/win.rs:32:45
[INFO] [stdout]    |
[INFO] [stdout] 32 |                 cbSize: std::mem::size_of::<WNDCLASSEXW>() as u32,
[INFO] [stdout]    |                                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl<WNDCLASSEXW> Win {
[INFO] [stdout]    |     +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DefWindowProcW` in this scope
[INFO] [stdout]   --> src/render/win.rs:34:35
[INFO] [stdout]    |
[INFO] [stdout] 34 |                 lpfnWndProc: Some(DefWindowProcW),
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope
[INFO] [stdout]   --> src/render/win.rs:50:17
[INFO] [stdout]    |
[INFO] [stdout] 50 |                 WS_OVERLAPPEDWINDOW,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope
[INFO] [stdout]    --> src/unhook.rs:121:61
[INFO] [stdout]     |
[INFO] [stdout] 121 |                 if VirtualProtect(live_va as *const _, len, PAGE_EXECUTE_READWRITE, &mut old) == 0 {
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ffi::*`
[INFO] [stdout]  --> src/hook/eat.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::ffi::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ffi::*`
[INFO] [stdout]  --> src/hook/freeze.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::ffi::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ffi::*`
[INFO] [stdout]  --> src/hook/guard.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::ffi::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ffi::*`
[INFO] [stdout]   --> src/hook/hwbp.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::ffi::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ffi::*`
[INFO] [stdout]  --> src/hook/iat.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::ffi::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ffi::*`
[INFO] [stdout]   --> src/hook/inline.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::ffi::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ffi::*`
[INFO] [stdout]   --> src/hook/trampoline.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::ffi::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ffi::*`
[INFO] [stdout]   --> src/hook/veh.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::ffi::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ffi::*`
[INFO] [stdout]   --> src/hook/vmt.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::ffi::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]    --> src/process/mod.rs:140:21
[INFO] [stdout]     |
[INFO] [stdout] 140 |             let r = windows_sys::Win32::System::Threading::IsWow64Process(self.raw(), &mut w);
[INFO] [stdout]     |                     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ffi::*`
[INFO] [stdout]  --> src/memory/alloc.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::ffi::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ffi::*`
[INFO] [stdout]  --> src/memory/protect.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::ffi::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ffi::*`
[INFO] [stdout]   --> src/memory/mod.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use crate::ffi::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ffi::*`
[INFO] [stdout]  --> src/syscall.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::ffi::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]    --> src/process/mod.rs:153:21
[INFO] [stdout]     |
[INFO] [stdout] 153 |             let r = windows_sys::Win32::System::Threading::QueryFullProcessImageNameW(
[INFO] [stdout]     |                     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]    --> src/process/mod.rs:170:17
[INFO] [stdout]     |
[INFO] [stdout] 170 |                 windows_sys::Win32::System::Threading::GetExitCodeProcess(self.raw(), &mut code);
[INFO] [stdout]     |                 ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `bytemuck` in this scope
[INFO] [stdout]   --> src/memory/batch.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |         bytemuck::bytes_of_mut(&mut v).copy_from_slice(&bytes);
[INFO] [stdout]    |         ^^^^^^^^ use of unresolved module or unlinked crate `bytemuck`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `bytemuck`, use `cargo add bytemuck` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `bytemuck` in this scope
[INFO] [stdout]   --> src/memory/mod.rs:76:34
[INFO] [stdout]    |
[INFO] [stdout] 76 |     unsafe { read_bytes(t, addr, bytemuck::bytes_of_mut(&mut v))? };
[INFO] [stdout]    |                                  ^^^^^^^^ use of unresolved module or unlinked crate `bytemuck`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `bytemuck`, use `cargo add bytemuck` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `bytemuck` in this scope
[INFO] [stdout]   --> src/memory/mod.rs:81:35
[INFO] [stdout]    |
[INFO] [stdout] 81 |     unsafe { write_bytes(t, addr, bytemuck::bytes_of(val)) }
[INFO] [stdout]    |                                   ^^^^^^^^ use of unresolved module or unlinked crate `bytemuck`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `bytemuck`, use `cargo add bytemuck` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `bytemuck` in this scope
[INFO] [stdout]   --> src/memory/mod.rs:86:34
[INFO] [stdout]    |
[INFO] [stdout] 86 |     unsafe { read_bytes(t, addr, bytemuck::cast_slice_mut(&mut v))? };
[INFO] [stdout]    |                                  ^^^^^^^^ use of unresolved module or unlinked crate `bytemuck`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `bytemuck`, use `cargo add bytemuck` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope
[INFO] [stdout]   --> src/hook/auto.rs:54:17
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let m = GetModuleHandleW(ntdll.as_ptr());
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stdout]   --> src/hook/auto.rs:58:23
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let p = match GetProcAddress(m, c"NtCreateThreadEx".as_ptr() as *const u8) {
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope
[INFO] [stdout]    --> src/hook/auto.rs:106:40
[INFO] [stdout]     |
[INFO] [stdout] 106 |             if !h.is_null() && proc == GetCurrentProcess() {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/hook/eat.rs:107:16
[INFO] [stdout]     |
[INFO] [stdout] 107 |             if VirtualProtect(slot as *const _, 4, PAGE_READWRITE, &mut old) == 0 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/hook/eat.rs:112:13
[INFO] [stdout]     |
[INFO] [stdout] 112 |             VirtualProtect(slot as *const _, 4, old, &mut old);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/hook/eat.rs:131:16
[INFO] [stdout]     |
[INFO] [stdout] 131 |             if VirtualProtect(self.slot as *const _, 4, PAGE_READWRITE, &mut old) != 0 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/hook/eat.rs:133:17
[INFO] [stdout]     |
[INFO] [stdout] 133 |                 VirtualProtect(self.slot as *const _, 4, old, &mut old);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcessId` in this scope
[INFO] [stdout]   --> src/hook/freeze.rs:18:23
[INFO] [stdout]    |
[INFO] [stdout] 18 |             let pid = GetCurrentProcessId();
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentThreadId` in this scope
[INFO] [stdout]   --> src/hook/freeze.rs:19:22
[INFO] [stdout]    |
[INFO] [stdout] 19 |             let me = GetCurrentThreadId();
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SuspendThread` in this scope
[INFO] [stdout]   --> src/hook/freeze.rs:31:25
[INFO] [stdout]    |
[INFO] [stdout] 31 |                 let r = SuspendThread(h.raw());
[INFO] [stdout]    |                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetThreadContext` in this scope
[INFO] [stdout]   --> src/hook/freeze.rs:49:20
[INFO] [stdout]    |
[INFO] [stdout] 49 |                 if GetThreadContext(h.raw(), &mut ctx) == 0 {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetThreadContext` in this scope
[INFO] [stdout]   --> src/hook/freeze.rs:55:24
[INFO] [stdout]    |
[INFO] [stdout] 55 |                     if SetThreadContext(h.raw(), &ctx) == 0 {
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetThreadContext` in this scope
[INFO] [stdout]   --> src/hook/freeze.rs:69:20
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 if GetThreadContext(h.raw(), &mut ctx) == 0 {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope
[INFO] [stdout]   --> src/hook/freeze.rs:85:17
[INFO] [stdout]    |
[INFO] [stdout] 85 |                 ResumeThread(h.raw());
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualQuery` in this scope
[INFO] [stdout]   --> src/hook/guard.rs:21:16
[INFO] [stdout]    |
[INFO] [stdout] 21 |             if VirtualQuery(
[INFO] [stdout]    |                ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]   --> src/hook/guard.rs:31:16
[INFO] [stdout]    |
[INFO] [stdout] 31 |             if VirtualProtect(addr as *const _, size, base | PAGE_GUARD, &mut old) == 0 {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]   --> src/hook/guard.rs:51:16
[INFO] [stdout]    |
[INFO] [stdout] 51 |             if VirtualProtect(
[INFO] [stdout]    |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]   --> src/hook/guard.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |             VirtualProtect(self.addr as *const _, self.size, self.base, &mut old);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcessId` in this scope
[INFO] [stdout]   --> src/hook/hwbp.rs:66:28
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let pid = unsafe { GetCurrentProcessId() };
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentThreadId` in this scope
[INFO] [stdout]   --> src/hook/hwbp.rs:75:34
[INFO] [stdout]    |
[INFO] [stdout] 75 |             if t.tid == unsafe { GetCurrentThreadId() } {
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcessId` in this scope
[INFO] [stdout]    --> src/hook/hwbp.rs:110:23
[INFO] [stdout]     |
[INFO] [stdout] 110 |             let pid = GetCurrentProcessId();
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentThreadId` in this scope
[INFO] [stdout]    --> src/hook/hwbp.rs:113:33
[INFO] [stdout]     |
[INFO] [stdout] 113 |                     if t.tid == GetCurrentThreadId() {
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SuspendThread` in this scope
[INFO] [stdout]    --> src/hook/hwbp.rs:143:9
[INFO] [stdout]     |
[INFO] [stdout] 143 |         SuspendThread(h.raw());
[INFO] [stdout]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetThreadContext` in this scope
[INFO] [stdout]    --> src/hook/hwbp.rs:146:12
[INFO] [stdout]     |
[INFO] [stdout] 146 |         if GetThreadContext(h.raw(), &mut ctx) == 0 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope
[INFO] [stdout]    --> src/hook/hwbp.rs:147:13
[INFO] [stdout]     |
[INFO] [stdout] 147 |             ResumeThread(h.raw());
[INFO] [stdout]     |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetThreadContext` in this scope
[INFO] [stdout]    --> src/hook/hwbp.rs:182:12
[INFO] [stdout]     |
[INFO] [stdout] 182 |         if SetThreadContext(h.raw(), &ctx) == 0 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope
[INFO] [stdout]    --> src/hook/hwbp.rs:183:13
[INFO] [stdout]     |
[INFO] [stdout] 183 |             ResumeThread(h.raw());
[INFO] [stdout]     |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope
[INFO] [stdout]    --> src/hook/hwbp.rs:186:9
[INFO] [stdout]     |
[INFO] [stdout] 186 |         ResumeThread(h.raw());
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]   --> src/hook/iat.rs:98:32
[INFO] [stdout]    |
[INFO] [stdout] 98 | ...                   if VirtualProtect(slot as *const _, 8, PAGE_READWRITE, &mut old) == 0 {
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/hook/iat.rs:103:29
[INFO] [stdout]     |
[INFO] [stdout] 103 | ...                   VirtualProtect(slot as *const _, 8, old, &mut old);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/hook/iat.rs:125:16
[INFO] [stdout]     |
[INFO] [stdout] 125 |             if VirtualProtect(self.slot as *const _, 8, PAGE_READWRITE, &mut old) != 0 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/hook/iat.rs:127:17
[INFO] [stdout]     |
[INFO] [stdout] 127 |                 VirtualProtect(self.slot as *const _, 8, old, &mut old);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/hook/inline.rs:152:16
[INFO] [stdout]     |
[INFO] [stdout] 152 |             if VirtualProtect(target as *const _, len, PAGE_EXECUTE_READWRITE, &mut old) == 0 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/hook/inline.rs:167:13
[INFO] [stdout]     |
[INFO] [stdout] 167 |             VirtualProtect(target as *const _, len, old, &mut old);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FlushInstructionCache` in this scope
[INFO] [stdout]    --> src/hook/inline.rs:168:13
[INFO] [stdout]     |
[INFO] [stdout] 168 |             FlushInstructionCache(GetCurrentProcess(), target as *const _, len);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope
[INFO] [stdout]    --> src/hook/inline.rs:168:35
[INFO] [stdout]     |
[INFO] [stdout] 168 |             FlushInstructionCache(GetCurrentProcess(), target as *const _, len);
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/hook/inline.rs:251:16
[INFO] [stdout]     |
[INFO] [stdout] 251 |             if VirtualProtect(self.target as *const _, n, PAGE_EXECUTE_READWRITE, &mut old) == 0 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/hook/inline.rs:255:13
[INFO] [stdout]     |
[INFO] [stdout] 255 |             VirtualProtect(self.target as *const _, n, old, &mut old);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FlushInstructionCache` in this scope
[INFO] [stdout]    --> src/hook/inline.rs:256:13
[INFO] [stdout]     |
[INFO] [stdout] 256 |             FlushInstructionCache(GetCurrentProcess(), self.target as *const _, n);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope
[INFO] [stdout]    --> src/hook/inline.rs:256:35
[INFO] [stdout]     |
[INFO] [stdout] 256 |             FlushInstructionCache(GetCurrentProcess(), self.target as *const _, n);
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/hook/inline.rs:265:16
[INFO] [stdout]     |
[INFO] [stdout] 265 |             if VirtualProtect(self.target as *const _, n, PAGE_EXECUTE_READWRITE, &mut old) == 0 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/hook/inline.rs:277:13
[INFO] [stdout]     |
[INFO] [stdout] 277 |             VirtualProtect(self.target as *const _, n, old, &mut old);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FlushInstructionCache` in this scope
[INFO] [stdout]    --> src/hook/inline.rs:278:13
[INFO] [stdout]     |
[INFO] [stdout] 278 |             FlushInstructionCache(GetCurrentProcess(), self.target as *const _, n);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope
[INFO] [stdout]    --> src/hook/inline.rs:278:35
[INFO] [stdout]     |
[INFO] [stdout] 278 |             FlushInstructionCache(GetCurrentProcess(), self.target as *const _, n);
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualQuery` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:118:16
[INFO] [stdout]     |
[INFO] [stdout] 118 |             if VirtualQuery(
[INFO] [stdout]     |                ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAlloc` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:127:25
[INFO] [stdout]     |
[INFO] [stdout] 127 |                 let p = VirtualAlloc(
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualQuery` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:145:16
[INFO] [stdout]     |
[INFO] [stdout] 145 |             if VirtualQuery(
[INFO] [stdout]     |                ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAlloc` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:154:25
[INFO] [stdout]     |
[INFO] [stdout] 154 |                 let p = VirtualAlloc(
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AddVectoredExceptionHandler` in this scope
[INFO] [stdout]   --> src/hook/veh.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |             AddVectoredExceptionHandler(1, Some(dispatch));
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]   --> src/hook/vmt.rs:43:16
[INFO] [stdout]    |
[INFO] [stdout] 43 |             if VirtualProtect(
[INFO] [stdout]    |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]   --> src/hook/vmt.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |             VirtualProtect(
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]   --> src/hook/vmt.rs:70:20
[INFO] [stdout]    |
[INFO] [stdout] 70 |                 if VirtualProtect(
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]   --> src/hook/vmt.rs:81:17
[INFO] [stdout]    |
[INFO] [stdout] 81 |                 VirtualProtect(
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAlloc` in this scope
[INFO] [stdout]   --> src/memory/alloc.rs:37:30
[INFO] [stdout]    |
[INFO] [stdout] 37 |             Target::Local => VirtualAlloc(addr as *mut _, size, kind, prot),
[INFO] [stdout]    |                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAllocEx` in this scope
[INFO] [stdout]   --> src/memory/alloc.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |                 VirtualAllocEx(t.raw(), addr as *mut _, size, kind, prot)
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFree` in this scope
[INFO] [stdout]   --> src/memory/alloc.rs:57:30
[INFO] [stdout]    |
[INFO] [stdout] 57 |             Target::Local => VirtualFree(addr as *mut _, size, MEM_RELEASE),
[INFO] [stdout]    |                              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFreeEx` in this scope
[INFO] [stdout]   --> src/memory/alloc.rs:63:17
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 VirtualFreeEx(t.raw(), addr as *mut _, size, MEM_RELEASE)
[INFO] [stdout]    |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]   --> src/memory/protect.rs:38:30
[INFO] [stdout]    |
[INFO] [stdout] 38 |             Target::Local => VirtualProtect(addr as *const _, size, prot, &mut old),
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtectEx` in this scope
[INFO] [stdout]   --> src/memory/protect.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 VirtualProtectEx(t.raw(), addr as *const _, size, prot, &mut old)
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualQuery` in this scope
[INFO] [stdout]    --> src/memory/mod.rs:186:30
[INFO] [stdout]     |
[INFO] [stdout] 186 |             Target::Local => VirtualQuery(
[INFO] [stdout]     |                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualQueryEx` in this scope
[INFO] [stdout]    --> src/memory/mod.rs:196:17
[INFO] [stdout]     |
[INFO] [stdout] 196 |                 VirtualQueryEx(
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope
[INFO] [stdout]    --> src/module/peb.rs:115:17
[INFO] [stdout]     |
[INFO] [stdout] 115 |         let m = GetModuleHandleW(ntdll.as_ptr());
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stdout]    --> src/module/peb.rs:119:23
[INFO] [stdout]     |
[INFO] [stdout] 119 |         let p = match GetProcAddress(m, c"NtQueryInformationProcess".as_ptr() as *const u8) {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope
[INFO] [stdout]    --> src/module/mod.rs:163:20
[INFO] [stdout]     |
[INFO] [stdout] 163 |         let snap = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32FirstW` in this scope
[INFO] [stdout]    --> src/module/mod.rs:171:12
[INFO] [stdout]     |
[INFO] [stdout] 171 |         if Module32FirstW(snap, &mut e) == 0 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32NextW` in this scope
[INFO] [stdout]    --> src/module/mod.rs:180:16
[INFO] [stdout]     |
[INFO] [stdout] 180 |             if Module32NextW(snap, &mut e) == 0 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenThread` in this scope
[INFO] [stdout]   --> src/process/thread.rs:16:21
[INFO] [stdout]    |
[INFO] [stdout] 16 |             let h = OpenThread(access, FALSE, self.tid);
[INFO] [stdout]    |                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SuspendThread` in this scope
[INFO] [stdout]   --> src/process/thread.rs:28:21
[INFO] [stdout]    |
[INFO] [stdout] 28 |             let r = SuspendThread(h.raw());
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope
[INFO] [stdout]   --> src/process/thread.rs:40:21
[INFO] [stdout]    |
[INFO] [stdout] 40 |             let r = ResumeThread(h.raw());
[INFO] [stdout]    |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SuspendThread` in this scope
[INFO] [stdout]   --> src/process/thread.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |             SuspendThread(h.raw());
[INFO] [stdout]    |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetThreadContext` in this scope
[INFO] [stdout]   --> src/process/thread.rs:55:16
[INFO] [stdout]    |
[INFO] [stdout] 55 |             if GetThreadContext(h.raw(), &mut ctx) == 0 {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope
[INFO] [stdout]   --> src/process/thread.rs:56:17
[INFO] [stdout]    |
[INFO] [stdout] 56 |                 ResumeThread(h.raw());
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetThreadContext` in this scope
[INFO] [stdout]   --> src/process/thread.rs:61:16
[INFO] [stdout]    |
[INFO] [stdout] 61 |             if SetThreadContext(h.raw(), &ctx) == 0 {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope
[INFO] [stdout]   --> src/process/thread.rs:62:17
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 ResumeThread(h.raw());
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope
[INFO] [stdout]   --> src/process/thread.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |             ResumeThread(h.raw());
[INFO] [stdout]    |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SuspendThread` in this scope
[INFO] [stdout]   --> src/process/thread.rs:73:13
[INFO] [stdout]    |
[INFO] [stdout] 73 |             SuspendThread(h.raw());
[INFO] [stdout]    |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetThreadContext` in this scope
[INFO] [stdout]   --> src/process/thread.rs:76:16
[INFO] [stdout]    |
[INFO] [stdout] 76 |             if GetThreadContext(h.raw(), &mut ctx) == 0 {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope
[INFO] [stdout]   --> src/process/thread.rs:77:17
[INFO] [stdout]    |
[INFO] [stdout] 77 |                 ResumeThread(h.raw());
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetThreadContext` in this scope
[INFO] [stdout]   --> src/process/thread.rs:81:16
[INFO] [stdout]    |
[INFO] [stdout] 81 |             if SetThreadContext(h.raw(), &ctx) == 0 {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope
[INFO] [stdout]   --> src/process/thread.rs:82:17
[INFO] [stdout]    |
[INFO] [stdout] 82 |                 ResumeThread(h.raw());
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope
[INFO] [stdout]   --> src/process/thread.rs:85:13
[INFO] [stdout]    |
[INFO] [stdout] 85 |             ResumeThread(h.raw());
[INFO] [stdout]    |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope
[INFO] [stdout]   --> src/process/thread.rs:93:20
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let snap = CreateToolhelp32Snapshot(TH32CS_SNAPTHREAD, 0);
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Thread32First` in this scope
[INFO] [stdout]    --> src/process/thread.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 |         if Thread32First(snap, &mut e) == 0 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Thread32Next` in this scope
[INFO] [stdout]    --> src/process/thread.rs:111:16
[INFO] [stdout]     |
[INFO] [stdout] 111 |             if Thread32Next(snap, &mut e) == 0 {
[INFO] [stdout]     |                ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope
[INFO] [stdout]   --> src/process/mod.rs:27:20
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let snap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32FirstW` in this scope
[INFO] [stdout]   --> src/process/mod.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 |         if Process32FirstW(snap, &mut e) == 0 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32NextW` in this scope
[INFO] [stdout]   --> src/process/mod.rs:44:16
[INFO] [stdout]    |
[INFO] [stdout] 44 |             if Process32NextW(snap, &mut e) == 0 {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope
[INFO] [stdout]   --> src/process/mod.rs:68:21
[INFO] [stdout]    |
[INFO] [stdout] 68 |             let h = OpenProcess(access, FALSE, pid);
[INFO] [stdout]    |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope
[INFO] [stdout]   --> src/process/mod.rs:91:24
[INFO] [stdout]    |
[INFO] [stdout] 91 |             let snap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32FirstW` in this scope
[INFO] [stdout]   --> src/process/mod.rs:98:16
[INFO] [stdout]    |
[INFO] [stdout] 98 |             if Process32FirstW(snap, &mut e) == 0 {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32NextW` in this scope
[INFO] [stdout]    --> src/process/mod.rs:106:20
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 if Process32NextW(snap, &mut e) == 0 {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope
[INFO] [stdout]   --> src/render/win.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |             RegisterClassExW(&wc);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]   --> src/render/win.rs:46:24
[INFO] [stdout]    |
[INFO] [stdout] 46 |             let hwnd = CreateWindowExW(
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnregisterClassW` in this scope
[INFO] [stdout]   --> src/render/win.rs:61:17
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 UnregisterClassW(class.as_ptr(), h as _);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope
[INFO] [stdout]   --> src/render/win.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |             DestroyWindow(self.hwnd);
[INFO] [stdout]    |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnregisterClassW` in this scope
[INFO] [stdout]   --> src/render/win.rs:74:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |             UnregisterClassW(self.class.as_ptr(), h as _);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope
[INFO] [stdout]   --> src/syscall.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 |         let m = GetModuleHandleW(w.as_ptr());
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/unhook.rs:121:20
[INFO] [stdout]     |
[INFO] [stdout] 121 |                 if VirtualProtect(live_va as *const _, len, PAGE_EXECUTE_READWRITE, &mut old) == 0 {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/unhook.rs:125:17
[INFO] [stdout]     |
[INFO] [stdout] 125 |                 VirtualProtect(live_va as *const _, len, old, &mut old);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope
[INFO] [stdout]    --> src/unhook.rs:166:17
[INFO] [stdout]     |
[INFO] [stdout] 166 |         let m = GetModuleHandleW(w.as_ptr());
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `apwil` (lib) due to 246 previous errors; 13 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope
[INFO] [stdout]    --> src/hook/eat.rs:107:52
[INFO] [stdout]     |
[INFO] [stdout] 107 |             if VirtualProtect(slot as *const _, 4, PAGE_READWRITE, &mut old) == 0 {
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope
[INFO] [stdout]    --> src/hook/eat.rs:131:57
[INFO] [stdout]     |
[INFO] [stdout] 131 |             if VirtualProtect(self.slot as *const _, 4, PAGE_READWRITE, &mut old) != 0 {
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_SUSPEND_RESUME` in this scope
[INFO] [stdout]   --> src/hook/freeze.rs:27:34
[INFO] [stdout]    |
[INFO] [stdout] 27 |                     match t.open(THREAD_SUSPEND_RESUME | THREAD_GET_CONTEXT | THREAD_SET_CONTEXT) {
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_GET_CONTEXT` in this scope
[INFO] [stdout]   --> src/hook/freeze.rs:27:58
[INFO] [stdout]    |
[INFO] [stdout] 27 |                     match t.open(THREAD_SUSPEND_RESUME | THREAD_GET_CONTEXT | THREAD_SET_CONTEXT) {
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_SET_CONTEXT` in this scope
[INFO] [stdout]   --> src/hook/freeze.rs:27:79
[INFO] [stdout]    |
[INFO] [stdout] 27 |                     match t.open(THREAD_SUSPEND_RESUME | THREAD_GET_CONTEXT | THREAD_SET_CONTEXT) {
[INFO] [stdout]    |                                                                               ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CONTEXT` in this scope
[INFO] [stdout]   --> src/hook/freeze.rs:47:30
[INFO] [stdout]    |
[INFO] [stdout] 47 |                 let mut ctx: CONTEXT = std::mem::zeroed();
[INFO] [stdout]    |                              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CONTEXT_CONTROL_AMD64` in this scope
[INFO] [stdout]   --> src/hook/freeze.rs:48:36
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 ctx.ContextFlags = CONTEXT_CONTROL_AMD64;
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CONTEXT` in this scope
[INFO] [stdout]   --> src/hook/freeze.rs:67:30
[INFO] [stdout]    |
[INFO] [stdout] 67 |                 let mut ctx: CONTEXT = std::mem::zeroed();
[INFO] [stdout]    |                              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CONTEXT_CONTROL_AMD64` in this scope
[INFO] [stdout]   --> src/hook/freeze.rs:68:36
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 ctx.ContextFlags = CONTEXT_CONTROL_AMD64;
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `EXCEPTION_POINTERS` in this scope
[INFO] [stdout]  --> src/hook/guard.rs:8:46
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub type Cb = unsafe extern "system" fn(*mut EXCEPTION_POINTERS) -> i32;
[INFO] [stdout]   |                                              ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]   --> src/hook/guard.rs:20:26
[INFO] [stdout]    |
[INFO] [stdout] 20 |             let mut mbi: MEMORY_BASIC_INFORMATION = std::mem::zeroed();
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]   --> src/hook/guard.rs:24:37
[INFO] [stdout]    |
[INFO] [stdout] 24 |                 std::mem::size_of::<MEMORY_BASIC_INFORMATION>(),
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl<MEMORY_BASIC_INFORMATION> Guard {
[INFO] [stdout]    |     ++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_GUARD` in this scope
[INFO] [stdout]   --> src/hook/guard.rs:29:39
[INFO] [stdout]    |
[INFO] [stdout] 29 |             let base = mbi.Protect & !PAGE_GUARD;
[INFO] [stdout]    |                                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_GUARD` in this scope
[INFO] [stdout]   --> src/hook/guard.rs:31:62
[INFO] [stdout]    |
[INFO] [stdout] 31 |             if VirtualProtect(addr as *const _, size, base | PAGE_GUARD, &mut old) == 0 {
[INFO] [stdout]    |                                                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_GUARD` in this scope
[INFO] [stdout]   --> src/hook/guard.rs:54:29
[INFO] [stdout]    |
[INFO] [stdout] 54 |                 self.base | PAGE_GUARD,
[INFO] [stdout]    |                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `EXCEPTION_POINTERS` in this scope
[INFO] [stdout]   --> src/hook/hwbp.rs:33:46
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub type Cb = unsafe extern "system" fn(*mut EXCEPTION_POINTERS) -> i32;
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_GET_CONTEXT` in this scope
[INFO] [stdout]   --> src/hook/hwbp.rs:80:29
[INFO] [stdout]    |
[INFO] [stdout] 80 |                     &t.open(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT | THREAD_SUSPEND_RESUME)?,
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_SET_CONTEXT` in this scope
[INFO] [stdout]   --> src/hook/hwbp.rs:80:50
[INFO] [stdout]    |
[INFO] [stdout] 80 |                     &t.open(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT | THREAD_SUSPEND_RESUME)?,
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_SUSPEND_RESUME` in this scope
[INFO] [stdout]   --> src/hook/hwbp.rs:80:71
[INFO] [stdout]    |
[INFO] [stdout] 80 |                     &t.open(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT | THREAD_SUSPEND_RESUME)?,
[INFO] [stdout]    |                                                                       ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_GET_CONTEXT` in this scope
[INFO] [stdout]    --> src/hook/hwbp.rs:117:32
[INFO] [stdout]     |
[INFO] [stdout] 117 |                         t.open(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT | THREAD_SUSPEND_RESUME)
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_SET_CONTEXT` in this scope
[INFO] [stdout]    --> src/hook/hwbp.rs:117:53
[INFO] [stdout]     |
[INFO] [stdout] 117 |                         t.open(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT | THREAD_SUSPEND_RESUME)
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_SUSPEND_RESUME` in this scope
[INFO] [stdout]    --> src/hook/hwbp.rs:117:74
[INFO] [stdout]     |
[INFO] [stdout] 117 |                         t.open(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT | THREAD_SUSPEND_RESUME)
[INFO] [stdout]     |                                                                          ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CONTEXT` in this scope
[INFO] [stdout]    --> src/hook/hwbp.rs:144:22
[INFO] [stdout]     |
[INFO] [stdout] 144 |         let mut ctx: CONTEXT = std::mem::zeroed();
[INFO] [stdout]     |                      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CONTEXT_DEBUG_REGISTERS_AMD64` in this scope
[INFO] [stdout]    --> src/hook/hwbp.rs:145:28
[INFO] [stdout]     |
[INFO] [stdout] 145 |         ctx.ContextFlags = CONTEXT_DEBUG_REGISTERS_AMD64;
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `EXCEPTION_POINTERS` in this scope
[INFO] [stdout]    --> src/hook/hwbp.rs:191:31
[INFO] [stdout]     |
[INFO] [stdout] 191 | pub unsafe fn cont(info: *mut EXCEPTION_POINTERS) -> i32 {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope
[INFO] [stdout]   --> src/hook/iat.rs:98:68
[INFO] [stdout]    |
[INFO] [stdout] 98 | ...                   if VirtualProtect(slot as *const _, 8, PAGE_READWRITE, &mut old) == 0 {
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope
[INFO] [stdout]    --> src/hook/iat.rs:125:57
[INFO] [stdout]     |
[INFO] [stdout] 125 |             if VirtualProtect(self.slot as *const _, 8, PAGE_READWRITE, &mut old) != 0 {
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope
[INFO] [stdout]    --> src/hook/inline.rs:152:56
[INFO] [stdout]     |
[INFO] [stdout] 152 |             if VirtualProtect(target as *const _, len, PAGE_EXECUTE_READWRITE, &mut old) == 0 {
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope
[INFO] [stdout]    --> src/hook/inline.rs:251:59
[INFO] [stdout]     |
[INFO] [stdout] 251 |             if VirtualProtect(self.target as *const _, n, PAGE_EXECUTE_READWRITE, &mut old) == 0 {
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope
[INFO] [stdout]    --> src/hook/inline.rs:265:59
[INFO] [stdout]     |
[INFO] [stdout] 265 |             if VirtualProtect(self.target as *const _, n, PAGE_EXECUTE_READWRITE, &mut old) == 0 {
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SYSTEM_INFO` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:110:23
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let mut info: SYSTEM_INFO = std::mem::zeroed();
[INFO] [stdout]     |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:117:26
[INFO] [stdout]     |
[INFO] [stdout] 117 |             let mut mbi: MEMORY_BASIC_INFORMATION = std::mem::zeroed();
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:121:37
[INFO] [stdout]     |
[INFO] [stdout] 121 |                 std::mem::size_of::<MEMORY_BASIC_INFORMATION>(),
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn alloc<MEMORY_BASIC_INFORMATION>(target: usize) -> Result<usize> {
[INFO] [stdout]     |         ++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_FREE` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:126:29
[INFO] [stdout]     |
[INFO] [stdout] 126 |             if mbi.State == MEM_FREE && mbi.RegionSize as usize >= PAGE {
[INFO] [stdout]     |                             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:130:21
[INFO] [stdout]     |
[INFO] [stdout] 130 |                     MEM_COMMIT | MEM_RESERVE,
[INFO] [stdout]     |                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:130:34
[INFO] [stdout]     |
[INFO] [stdout] 130 |                     MEM_COMMIT | MEM_RESERVE,
[INFO] [stdout]     |                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:131:21
[INFO] [stdout]     |
[INFO] [stdout] 131 |                     PAGE_EXECUTE_READWRITE,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:144:26
[INFO] [stdout]     |
[INFO] [stdout] 144 |             let mut mbi: MEMORY_BASIC_INFORMATION = std::mem::zeroed();
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:148:37
[INFO] [stdout]     |
[INFO] [stdout] 148 |                 std::mem::size_of::<MEMORY_BASIC_INFORMATION>(),
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn alloc<MEMORY_BASIC_INFORMATION>(target: usize) -> Result<usize> {
[INFO] [stdout]     |         ++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_FREE` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:153:29
[INFO] [stdout]     |
[INFO] [stdout] 153 |             if mbi.State == MEM_FREE && mbi.RegionSize as usize >= PAGE {
[INFO] [stdout]     |                             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:157:21
[INFO] [stdout]     |
[INFO] [stdout] 157 |                     MEM_COMMIT | MEM_RESERVE,
[INFO] [stdout]     |                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:157:34
[INFO] [stdout]     |
[INFO] [stdout] 157 |                     MEM_COMMIT | MEM_RESERVE,
[INFO] [stdout]     |                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:158:21
[INFO] [stdout]     |
[INFO] [stdout] 158 |                     PAGE_EXECUTE_READWRITE,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `EXCEPTION_POINTERS` in this scope
[INFO] [stdout]   --> src/hook/veh.rs:13:42
[INFO] [stdout]    |
[INFO] [stdout] 13 | type Fn = unsafe extern "system" fn(*mut EXCEPTION_POINTERS) -> i32;
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `EXCEPTION_POINTERS` in this scope
[INFO] [stdout]   --> src/hook/veh.rs:55:47
[INFO] [stdout]    |
[INFO] [stdout] 55 | unsafe extern "system" fn dispatch(info: *mut EXCEPTION_POINTERS) -> i32 {
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope
[INFO] [stdout]   --> src/hook/vmt.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 46 |                 PAGE_READWRITE,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope
[INFO] [stdout]   --> src/hook/vmt.rs:73:21
[INFO] [stdout]    |
[INFO] [stdout] 73 |                     PAGE_READWRITE,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope
[INFO] [stdout]   --> src/memory/alloc.rs:16:47
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let addr = unsafe { alloc(t, 0, size, MEM_COMMIT | MEM_RESERVE, prot)? };
[INFO] [stdout]    |                                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in this scope
[INFO] [stdout]   --> src/memory/alloc.rs:16:60
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let addr = unsafe { alloc(t, 0, size, MEM_COMMIT | MEM_RESERVE, prot)? };
[INFO] [stdout]    |                                                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope
[INFO] [stdout]   --> src/memory/alloc.rs:21:47
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let a = unsafe { alloc(t, addr, size, MEM_COMMIT | MEM_RESERVE, prot)? };
[INFO] [stdout]    |                                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in this scope
[INFO] [stdout]   --> src/memory/alloc.rs:21:60
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let a = unsafe { alloc(t, addr, size, MEM_COMMIT | MEM_RESERVE, prot)? };
[INFO] [stdout]    |                                                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_RELEASE` in this scope
[INFO] [stdout]   --> src/memory/alloc.rs:57:64
[INFO] [stdout]    |
[INFO] [stdout] 57 |             Target::Local => VirtualFree(addr as *mut _, size, MEM_RELEASE),
[INFO] [stdout]    |                                                                ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_RELEASE` in this scope
[INFO] [stdout]   --> src/memory/alloc.rs:60:73
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 if let Some(st) = super::sys::free(t.raw(), addr, size, MEM_RELEASE) {
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_RELEASE` in this scope
[INFO] [stdout]   --> src/memory/alloc.rs:63:62
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 VirtualFreeEx(t.raw(), addr as *mut _, size, MEM_RELEASE)
[INFO] [stdout]    |                                                              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]    --> src/memory/sys.rs:119:55
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub unsafe fn query(h: HANDLE, addr: usize, mbi: *mut MEMORY_BASIC_INFORMATION) -> Option<i32> {
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]    --> src/memory/sys.rs:129:29
[INFO] [stdout]     |
[INFO] [stdout] 129 |         std::mem::size_of::<MEMORY_BASIC_INFORMATION>(),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub unsafe fn query<MEMORY_BASIC_INFORMATION>(h: HANDLE, addr: usize, mbi: *mut MEMORY_BASIC_INFORMATION) -> Option<i32> {
[INFO] [stdout]     |                    ++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]    --> src/memory/mod.rs:124:21
[INFO] [stdout]     |
[INFO] [stdout] 124 |             let r = windows_sys::Win32::System::Diagnostics::Debug::ReadProcessMemory(
[INFO] [stdout]     |                     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   8 + use std::fmt::Debug;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Debug`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 124 -             let r = windows_sys::Win32::System::Diagnostics::Debug::ReadProcessMemory(
[INFO] [stdout] 124 +             let r = Debug::ReadProcessMemory(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows_sys` in this scope
[INFO] [stdout]    --> src/memory/mod.rs:156:21
[INFO] [stdout]     |
[INFO] [stdout] 156 |             let r = windows_sys::Win32::System::Diagnostics::Debug::WriteProcessMemory(
[INFO] [stdout]     |                     ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   8 + use std::fmt::Debug;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Debug`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 156 -             let r = windows_sys::Win32::System::Diagnostics::Debug::WriteProcessMemory(
[INFO] [stdout] 156 +             let r = Debug::WriteProcessMemory(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]    --> src/memory/mod.rs:182:56
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub unsafe fn query(t: &Target, addr: usize) -> Result<MEMORY_BASIC_INFORMATION> {
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub unsafe fn query<MEMORY_BASIC_INFORMATION>(t: &Target, addr: usize) -> Result<MEMORY_BASIC_INFORMATION> {
[INFO] [stdout]     |                    ++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]    --> src/memory/mod.rs:184:22
[INFO] [stdout]     |
[INFO] [stdout] 184 |         let mut mbi: MEMORY_BASIC_INFORMATION = std::mem::zeroed();
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]    --> src/memory/mod.rs:189:37
[INFO] [stdout]     |
[INFO] [stdout] 189 |                 std::mem::size_of::<MEMORY_BASIC_INFORMATION>(),
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub unsafe fn query<MEMORY_BASIC_INFORMATION>(t: &Target, addr: usize) -> Result<MEMORY_BASIC_INFORMATION> {
[INFO] [stdout]     |                    ++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope
[INFO] [stdout]    --> src/memory/mod.rs:200:41
[INFO] [stdout]     |
[INFO] [stdout] 200 |                     std::mem::size_of::<MEMORY_BASIC_INFORMATION>(),
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub unsafe fn query<MEMORY_BASIC_INFORMATION>(t: &Target, addr: usize) -> Result<MEMORY_BASIC_INFORMATION> {
[INFO] [stdout]     |                    ++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE` in this scope
[INFO] [stdout]    --> src/module/mod.rs:163:45
[INFO] [stdout]     |
[INFO] [stdout] 163 |         let snap = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid);
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE32` in this scope
[INFO] [stdout]    --> src/module/mod.rs:163:65
[INFO] [stdout]     |
[INFO] [stdout] 163 |         let snap = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid);
[INFO] [stdout]     |                                                                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MODULEENTRY32W` in this scope
[INFO] [stdout]    --> src/module/mod.rs:168:20
[INFO] [stdout]     |
[INFO] [stdout] 168 |         let mut e: MODULEENTRY32W = std::mem::zeroed();
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MODULEENTRY32W` in this scope
[INFO] [stdout]    --> src/module/mod.rs:169:40
[INFO] [stdout]     |
[INFO] [stdout] 169 |         e.dwSize = std::mem::size_of::<MODULEENTRY32W>() as u32;
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 152 | pub fn list<MODULEENTRY32W>(t: &Target) -> Result<Vec<Module>> {
[INFO] [stdout]     |            ++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in module `crate::ffi`
[INFO] [stdout]    --> src/process/hijack.rs:126:33
[INFO] [stdout]     |
[INFO] [stdout] 126 |         hijack(pid, crate::ffi::PROCESS_ALL_ACCESS)
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^ not found in `crate::ffi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_SUSPEND_RESUME` in this scope
[INFO] [stdout]   --> src/process/thread.rs:27:31
[INFO] [stdout]    |
[INFO] [stdout] 27 |             let h = self.open(THREAD_SUSPEND_RESUME)?;
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_SUSPEND_RESUME` in this scope
[INFO] [stdout]   --> src/process/thread.rs:39:31
[INFO] [stdout]    |
[INFO] [stdout] 39 |             let h = self.open(THREAD_SUSPEND_RESUME)?;
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_GET_CONTEXT` in this scope
[INFO] [stdout]   --> src/process/thread.rs:51:31
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let h = self.open(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT | THREAD_SUSPEND_RESUME)?;
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_SET_CONTEXT` in this scope
[INFO] [stdout]   --> src/process/thread.rs:51:52
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let h = self.open(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT | THREAD_SUSPEND_RESUME)?;
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_SUSPEND_RESUME` in this scope
[INFO] [stdout]   --> src/process/thread.rs:51:73
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let h = self.open(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT | THREAD_SUSPEND_RESUME)?;
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CONTEXT` in this scope
[INFO] [stdout]   --> src/process/thread.rs:53:26
[INFO] [stdout]    |
[INFO] [stdout] 53 |             let mut ctx: CONTEXT = std::mem::zeroed();
[INFO] [stdout]    |                          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CONTEXT_CONTROL_AMD64` in this scope
[INFO] [stdout]   --> src/process/thread.rs:54:32
[INFO] [stdout]    |
[INFO] [stdout] 54 |             ctx.ContextFlags = CONTEXT_CONTROL_AMD64;
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_GET_CONTEXT` in this scope
[INFO] [stdout]   --> src/process/thread.rs:72:31
[INFO] [stdout]    |
[INFO] [stdout] 72 |             let h = self.open(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT | THREAD_SUSPEND_RESUME)?;
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_SET_CONTEXT` in this scope
[INFO] [stdout]   --> src/process/thread.rs:72:52
[INFO] [stdout]    |
[INFO] [stdout] 72 |             let h = self.open(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT | THREAD_SUSPEND_RESUME)?;
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `THREAD_SUSPEND_RESUME` in this scope
[INFO] [stdout]   --> src/process/thread.rs:72:73
[INFO] [stdout]    |
[INFO] [stdout] 72 |             let h = self.open(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT | THREAD_SUSPEND_RESUME)?;
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CONTEXT` in this scope
[INFO] [stdout]   --> src/process/thread.rs:74:26
[INFO] [stdout]    |
[INFO] [stdout] 74 |             let mut ctx: CONTEXT = std::mem::zeroed();
[INFO] [stdout]    |                          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CONTEXT_CONTROL_AMD64` in this scope
[INFO] [stdout]   --> src/process/thread.rs:75:32
[INFO] [stdout]    |
[INFO] [stdout] 75 |             ctx.ContextFlags = CONTEXT_CONTROL_AMD64;
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPTHREAD` in this scope
[INFO] [stdout]   --> src/process/thread.rs:93:45
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let snap = CreateToolhelp32Snapshot(TH32CS_SNAPTHREAD, 0);
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `THREADENTRY32` in this scope
[INFO] [stdout]   --> src/process/thread.rs:98:20
[INFO] [stdout]    |
[INFO] [stdout] 98 |         let mut e: THREADENTRY32 = std::mem::zeroed();
[INFO] [stdout]    |                    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `THREADENTRY32` in this scope
[INFO] [stdout]   --> src/process/thread.rs:99:40
[INFO] [stdout]    |
[INFO] [stdout] 99 |         e.dwSize = std::mem::size_of::<THREADENTRY32>() as u32;
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub fn list<THREADENTRY32>(pid: u32) -> Result<Vec<Thread>> {
[INFO] [stdout]    |            +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPPROCESS` in this scope
[INFO] [stdout]   --> src/process/mod.rs:27:45
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let snap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PROCESSENTRY32W` in this scope
[INFO] [stdout]   --> src/process/mod.rs:32:20
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let mut e: PROCESSENTRY32W = std::mem::zeroed();
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PROCESSENTRY32W` in this scope
[INFO] [stdout]   --> src/process/mod.rs:33:40
[INFO] [stdout]    |
[INFO] [stdout] 33 |         e.dwSize = std::mem::size_of::<PROCESSENTRY32W>() as u32;
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn iter<PROCESSENTRY32W>() -> Result<Vec<Proc>> {
[INFO] [stdout]    |            +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope
[INFO] [stdout]   --> src/process/mod.rs:63:30
[INFO] [stdout]    |
[INFO] [stdout] 63 |         Self::open_with(pid, PROCESS_ALL_ACCESS)
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPPROCESS` in this scope
[INFO] [stdout]   --> src/process/mod.rs:91:49
[INFO] [stdout]    |
[INFO] [stdout] 91 |             let snap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PROCESSENTRY32W` in this scope
[INFO] [stdout]   --> src/process/mod.rs:96:24
[INFO] [stdout]    |
[INFO] [stdout] 96 |             let mut e: PROCESSENTRY32W = std::mem::zeroed();
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PROCESSENTRY32W` in this scope
[INFO] [stdout]   --> src/process/mod.rs:97:44
[INFO] [stdout]    |
[INFO] [stdout] 97 |             e.dwSize = std::mem::size_of::<PROCESSENTRY32W>() as u32;
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 61 | impl<PROCESSENTRY32W> Target {
[INFO] [stdout]    |     +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope
[INFO] [stdout]    --> src/process/mod.rs:285:21
[INFO] [stdout]     |
[INFO] [stdout] 285 |         self.access(PROCESS_ALL_ACCESS)
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope
[INFO] [stdout]    --> src/process/mod.rs:302:44
[INFO] [stdout]     |
[INFO] [stdout] 302 |         let access = self.access.unwrap_or(PROCESS_ALL_ACCESS);
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope
[INFO] [stdout]   --> src/render/win.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |             let wc = WNDCLASSEXW {
[INFO] [stdout]    |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `WNDCLASSEXW` in this scope
[INFO] [stdout]   --> src/render/win.rs:32:45
[INFO] [stdout]    |
[INFO] [stdout] 32 |                 cbSize: std::mem::size_of::<WNDCLASSEXW>() as u32,
[INFO] [stdout]    |                                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl<WNDCLASSEXW> Win {
[INFO] [stdout]    |     +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DefWindowProcW` in this scope
[INFO] [stdout]   --> src/render/win.rs:34:35
[INFO] [stdout]    |
[INFO] [stdout] 34 |                 lpfnWndProc: Some(DefWindowProcW),
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope
[INFO] [stdout]   --> src/render/win.rs:50:17
[INFO] [stdout]    |
[INFO] [stdout] 50 |                 WS_OVERLAPPEDWINDOW,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope
[INFO] [stdout]    --> src/unhook.rs:121:61
[INFO] [stdout]     |
[INFO] [stdout] 121 |                 if VirtualProtect(live_va as *const _, len, PAGE_EXECUTE_READWRITE, &mut old) == 0 {
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ffi::*`
[INFO] [stdout]  --> src/hook/eat.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::ffi::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ffi::*`
[INFO] [stdout]  --> src/hook/freeze.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::ffi::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ffi::*`
[INFO] [stdout]  --> src/hook/guard.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::ffi::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ffi::*`
[INFO] [stdout]   --> src/hook/hwbp.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::ffi::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ffi::*`
[INFO] [stdout]  --> src/hook/iat.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::ffi::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ffi::*`
[INFO] [stdout]   --> src/hook/inline.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::ffi::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ffi::*`
[INFO] [stdout]   --> src/hook/trampoline.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::ffi::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ffi::*`
[INFO] [stdout]   --> src/hook/veh.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::ffi::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ffi::*`
[INFO] [stdout]   --> src/hook/vmt.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::ffi::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ffi::*`
[INFO] [stdout]  --> src/memory/alloc.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::ffi::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ffi::*`
[INFO] [stdout]  --> src/memory/protect.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::ffi::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ffi::*`
[INFO] [stdout]   --> src/memory/mod.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use crate::ffi::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ffi::*`
[INFO] [stdout]  --> src/syscall.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::ffi::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `bytemuck` in this scope
[INFO] [stdout]   --> src/memory/batch.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |         bytemuck::bytes_of_mut(&mut v).copy_from_slice(&bytes);
[INFO] [stdout]    |         ^^^^^^^^ use of unresolved module or unlinked crate `bytemuck`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `bytemuck`, use `cargo add bytemuck` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `bytemuck` in this scope
[INFO] [stdout]   --> src/memory/mod.rs:76:34
[INFO] [stdout]    |
[INFO] [stdout] 76 |     unsafe { read_bytes(t, addr, bytemuck::bytes_of_mut(&mut v))? };
[INFO] [stdout]    |                                  ^^^^^^^^ use of unresolved module or unlinked crate `bytemuck`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `bytemuck`, use `cargo add bytemuck` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `bytemuck` in this scope
[INFO] [stdout]   --> src/memory/mod.rs:81:35
[INFO] [stdout]    |
[INFO] [stdout] 81 |     unsafe { write_bytes(t, addr, bytemuck::bytes_of(val)) }
[INFO] [stdout]    |                                   ^^^^^^^^ use of unresolved module or unlinked crate `bytemuck`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `bytemuck`, use `cargo add bytemuck` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `bytemuck` in this scope
[INFO] [stdout]   --> src/memory/mod.rs:86:34
[INFO] [stdout]    |
[INFO] [stdout] 86 |     unsafe { read_bytes(t, addr, bytemuck::cast_slice_mut(&mut v))? };
[INFO] [stdout]    |                                  ^^^^^^^^ use of unresolved module or unlinked crate `bytemuck`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `bytemuck`, use `cargo add bytemuck` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope
[INFO] [stdout]   --> src/hook/auto.rs:54:17
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let m = GetModuleHandleW(ntdll.as_ptr());
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stdout]   --> src/hook/auto.rs:58:23
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let p = match GetProcAddress(m, c"NtCreateThreadEx".as_ptr() as *const u8) {
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope
[INFO] [stdout]    --> src/hook/auto.rs:106:40
[INFO] [stdout]     |
[INFO] [stdout] 106 |             if !h.is_null() && proc == GetCurrentProcess() {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/hook/eat.rs:107:16
[INFO] [stdout]     |
[INFO] [stdout] 107 |             if VirtualProtect(slot as *const _, 4, PAGE_READWRITE, &mut old) == 0 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/hook/eat.rs:112:13
[INFO] [stdout]     |
[INFO] [stdout] 112 |             VirtualProtect(slot as *const _, 4, old, &mut old);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/hook/eat.rs:131:16
[INFO] [stdout]     |
[INFO] [stdout] 131 |             if VirtualProtect(self.slot as *const _, 4, PAGE_READWRITE, &mut old) != 0 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/hook/eat.rs:133:17
[INFO] [stdout]     |
[INFO] [stdout] 133 |                 VirtualProtect(self.slot as *const _, 4, old, &mut old);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcessId` in this scope
[INFO] [stdout]   --> src/hook/freeze.rs:18:23
[INFO] [stdout]    |
[INFO] [stdout] 18 |             let pid = GetCurrentProcessId();
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentThreadId` in this scope
[INFO] [stdout]   --> src/hook/freeze.rs:19:22
[INFO] [stdout]    |
[INFO] [stdout] 19 |             let me = GetCurrentThreadId();
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SuspendThread` in this scope
[INFO] [stdout]   --> src/hook/freeze.rs:31:25
[INFO] [stdout]    |
[INFO] [stdout] 31 |                 let r = SuspendThread(h.raw());
[INFO] [stdout]    |                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetThreadContext` in this scope
[INFO] [stdout]   --> src/hook/freeze.rs:49:20
[INFO] [stdout]    |
[INFO] [stdout] 49 |                 if GetThreadContext(h.raw(), &mut ctx) == 0 {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetThreadContext` in this scope
[INFO] [stdout]   --> src/hook/freeze.rs:55:24
[INFO] [stdout]    |
[INFO] [stdout] 55 |                     if SetThreadContext(h.raw(), &ctx) == 0 {
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetThreadContext` in this scope
[INFO] [stdout]   --> src/hook/freeze.rs:69:20
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 if GetThreadContext(h.raw(), &mut ctx) == 0 {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope
[INFO] [stdout]   --> src/hook/freeze.rs:85:17
[INFO] [stdout]    |
[INFO] [stdout] 85 |                 ResumeThread(h.raw());
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualQuery` in this scope
[INFO] [stdout]   --> src/hook/guard.rs:21:16
[INFO] [stdout]    |
[INFO] [stdout] 21 |             if VirtualQuery(
[INFO] [stdout]    |                ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]   --> src/hook/guard.rs:31:16
[INFO] [stdout]    |
[INFO] [stdout] 31 |             if VirtualProtect(addr as *const _, size, base | PAGE_GUARD, &mut old) == 0 {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]   --> src/hook/guard.rs:51:16
[INFO] [stdout]    |
[INFO] [stdout] 51 |             if VirtualProtect(
[INFO] [stdout]    |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]   --> src/hook/guard.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |             VirtualProtect(self.addr as *const _, self.size, self.base, &mut old);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcessId` in this scope
[INFO] [stdout]   --> src/hook/hwbp.rs:66:28
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let pid = unsafe { GetCurrentProcessId() };
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentThreadId` in this scope
[INFO] [stdout]   --> src/hook/hwbp.rs:75:34
[INFO] [stdout]    |
[INFO] [stdout] 75 |             if t.tid == unsafe { GetCurrentThreadId() } {
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcessId` in this scope
[INFO] [stdout]    --> src/hook/hwbp.rs:110:23
[INFO] [stdout]     |
[INFO] [stdout] 110 |             let pid = GetCurrentProcessId();
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentThreadId` in this scope
[INFO] [stdout]    --> src/hook/hwbp.rs:113:33
[INFO] [stdout]     |
[INFO] [stdout] 113 |                     if t.tid == GetCurrentThreadId() {
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SuspendThread` in this scope
[INFO] [stdout]    --> src/hook/hwbp.rs:143:9
[INFO] [stdout]     |
[INFO] [stdout] 143 |         SuspendThread(h.raw());
[INFO] [stdout]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetThreadContext` in this scope
[INFO] [stdout]    --> src/hook/hwbp.rs:146:12
[INFO] [stdout]     |
[INFO] [stdout] 146 |         if GetThreadContext(h.raw(), &mut ctx) == 0 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope
[INFO] [stdout]    --> src/hook/hwbp.rs:147:13
[INFO] [stdout]     |
[INFO] [stdout] 147 |             ResumeThread(h.raw());
[INFO] [stdout]     |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetThreadContext` in this scope
[INFO] [stdout]    --> src/hook/hwbp.rs:182:12
[INFO] [stdout]     |
[INFO] [stdout] 182 |         if SetThreadContext(h.raw(), &ctx) == 0 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope
[INFO] [stdout]    --> src/hook/hwbp.rs:183:13
[INFO] [stdout]     |
[INFO] [stdout] 183 |             ResumeThread(h.raw());
[INFO] [stdout]     |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope
[INFO] [stdout]    --> src/hook/hwbp.rs:186:9
[INFO] [stdout]     |
[INFO] [stdout] 186 |         ResumeThread(h.raw());
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]   --> src/hook/iat.rs:98:32
[INFO] [stdout]    |
[INFO] [stdout] 98 | ...                   if VirtualProtect(slot as *const _, 8, PAGE_READWRITE, &mut old) == 0 {
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/hook/iat.rs:103:29
[INFO] [stdout]     |
[INFO] [stdout] 103 | ...                   VirtualProtect(slot as *const _, 8, old, &mut old);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/hook/iat.rs:125:16
[INFO] [stdout]     |
[INFO] [stdout] 125 |             if VirtualProtect(self.slot as *const _, 8, PAGE_READWRITE, &mut old) != 0 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/hook/iat.rs:127:17
[INFO] [stdout]     |
[INFO] [stdout] 127 |                 VirtualProtect(self.slot as *const _, 8, old, &mut old);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/hook/inline.rs:152:16
[INFO] [stdout]     |
[INFO] [stdout] 152 |             if VirtualProtect(target as *const _, len, PAGE_EXECUTE_READWRITE, &mut old) == 0 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/hook/inline.rs:167:13
[INFO] [stdout]     |
[INFO] [stdout] 167 |             VirtualProtect(target as *const _, len, old, &mut old);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FlushInstructionCache` in this scope
[INFO] [stdout]    --> src/hook/inline.rs:168:13
[INFO] [stdout]     |
[INFO] [stdout] 168 |             FlushInstructionCache(GetCurrentProcess(), target as *const _, len);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope
[INFO] [stdout]    --> src/hook/inline.rs:168:35
[INFO] [stdout]     |
[INFO] [stdout] 168 |             FlushInstructionCache(GetCurrentProcess(), target as *const _, len);
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/hook/inline.rs:251:16
[INFO] [stdout]     |
[INFO] [stdout] 251 |             if VirtualProtect(self.target as *const _, n, PAGE_EXECUTE_READWRITE, &mut old) == 0 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/hook/inline.rs:255:13
[INFO] [stdout]     |
[INFO] [stdout] 255 |             VirtualProtect(self.target as *const _, n, old, &mut old);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FlushInstructionCache` in this scope
[INFO] [stdout]    --> src/hook/inline.rs:256:13
[INFO] [stdout]     |
[INFO] [stdout] 256 |             FlushInstructionCache(GetCurrentProcess(), self.target as *const _, n);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope
[INFO] [stdout]    --> src/hook/inline.rs:256:35
[INFO] [stdout]     |
[INFO] [stdout] 256 |             FlushInstructionCache(GetCurrentProcess(), self.target as *const _, n);
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/hook/inline.rs:265:16
[INFO] [stdout]     |
[INFO] [stdout] 265 |             if VirtualProtect(self.target as *const _, n, PAGE_EXECUTE_READWRITE, &mut old) == 0 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/hook/inline.rs:277:13
[INFO] [stdout]     |
[INFO] [stdout] 277 |             VirtualProtect(self.target as *const _, n, old, &mut old);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FlushInstructionCache` in this scope
[INFO] [stdout]    --> src/hook/inline.rs:278:13
[INFO] [stdout]     |
[INFO] [stdout] 278 |             FlushInstructionCache(GetCurrentProcess(), self.target as *const _, n);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope
[INFO] [stdout]    --> src/hook/inline.rs:278:35
[INFO] [stdout]     |
[INFO] [stdout] 278 |             FlushInstructionCache(GetCurrentProcess(), self.target as *const _, n);
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualQuery` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:118:16
[INFO] [stdout]     |
[INFO] [stdout] 118 |             if VirtualQuery(
[INFO] [stdout]     |                ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAlloc` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:127:25
[INFO] [stdout]     |
[INFO] [stdout] 127 |                 let p = VirtualAlloc(
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualQuery` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:145:16
[INFO] [stdout]     |
[INFO] [stdout] 145 |             if VirtualQuery(
[INFO] [stdout]     |                ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAlloc` in this scope
[INFO] [stdout]    --> src/hook/trampoline.rs:154:25
[INFO] [stdout]     |
[INFO] [stdout] 154 |                 let p = VirtualAlloc(
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AddVectoredExceptionHandler` in this scope
[INFO] [stdout]   --> src/hook/veh.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |             AddVectoredExceptionHandler(1, Some(dispatch));
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]   --> src/hook/vmt.rs:43:16
[INFO] [stdout]    |
[INFO] [stdout] 43 |             if VirtualProtect(
[INFO] [stdout]    |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]   --> src/hook/vmt.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |             VirtualProtect(
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]   --> src/hook/vmt.rs:70:20
[INFO] [stdout]    |
[INFO] [stdout] 70 |                 if VirtualProtect(
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]   --> src/hook/vmt.rs:81:17
[INFO] [stdout]    |
[INFO] [stdout] 81 |                 VirtualProtect(
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAlloc` in this scope
[INFO] [stdout]   --> src/memory/alloc.rs:37:30
[INFO] [stdout]    |
[INFO] [stdout] 37 |             Target::Local => VirtualAlloc(addr as *mut _, size, kind, prot),
[INFO] [stdout]    |                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAllocEx` in this scope
[INFO] [stdout]   --> src/memory/alloc.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |                 VirtualAllocEx(t.raw(), addr as *mut _, size, kind, prot)
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFree` in this scope
[INFO] [stdout]   --> src/memory/alloc.rs:57:30
[INFO] [stdout]    |
[INFO] [stdout] 57 |             Target::Local => VirtualFree(addr as *mut _, size, MEM_RELEASE),
[INFO] [stdout]    |                              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFreeEx` in this scope
[INFO] [stdout]   --> src/memory/alloc.rs:63:17
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 VirtualFreeEx(t.raw(), addr as *mut _, size, MEM_RELEASE)
[INFO] [stdout]    |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]   --> src/memory/protect.rs:38:30
[INFO] [stdout]    |
[INFO] [stdout] 38 |             Target::Local => VirtualProtect(addr as *const _, size, prot, &mut old),
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtectEx` in this scope
[INFO] [stdout]   --> src/memory/protect.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 VirtualProtectEx(t.raw(), addr as *const _, size, prot, &mut old)
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualQuery` in this scope
[INFO] [stdout]    --> src/memory/mod.rs:186:30
[INFO] [stdout]     |
[INFO] [stdout] 186 |             Target::Local => VirtualQuery(
[INFO] [stdout]     |                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualQueryEx` in this scope
[INFO] [stdout]    --> src/memory/mod.rs:196:17
[INFO] [stdout]     |
[INFO] [stdout] 196 |                 VirtualQueryEx(
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope
[INFO] [stdout]    --> src/module/peb.rs:115:17
[INFO] [stdout]     |
[INFO] [stdout] 115 |         let m = GetModuleHandleW(ntdll.as_ptr());
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stdout]    --> src/module/peb.rs:119:23
[INFO] [stdout]     |
[INFO] [stdout] 119 |         let p = match GetProcAddress(m, c"NtQueryInformationProcess".as_ptr() as *const u8) {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope
[INFO] [stdout]    --> src/module/mod.rs:163:20
[INFO] [stdout]     |
[INFO] [stdout] 163 |         let snap = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32FirstW` in this scope
[INFO] [stdout]    --> src/module/mod.rs:171:12
[INFO] [stdout]     |
[INFO] [stdout] 171 |         if Module32FirstW(snap, &mut e) == 0 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32NextW` in this scope
[INFO] [stdout]    --> src/module/mod.rs:180:16
[INFO] [stdout]     |
[INFO] [stdout] 180 |             if Module32NextW(snap, &mut e) == 0 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenThread` in this scope
[INFO] [stdout]   --> src/process/thread.rs:16:21
[INFO] [stdout]    |
[INFO] [stdout] 16 |             let h = OpenThread(access, FALSE, self.tid);
[INFO] [stdout]    |                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SuspendThread` in this scope
[INFO] [stdout]   --> src/process/thread.rs:28:21
[INFO] [stdout]    |
[INFO] [stdout] 28 |             let r = SuspendThread(h.raw());
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope
[INFO] [stdout]   --> src/process/thread.rs:40:21
[INFO] [stdout]    |
[INFO] [stdout] 40 |             let r = ResumeThread(h.raw());
[INFO] [stdout]    |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SuspendThread` in this scope
[INFO] [stdout]   --> src/process/thread.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |             SuspendThread(h.raw());
[INFO] [stdout]    |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetThreadContext` in this scope
[INFO] [stdout]   --> src/process/thread.rs:55:16
[INFO] [stdout]    |
[INFO] [stdout] 55 |             if GetThreadContext(h.raw(), &mut ctx) == 0 {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope
[INFO] [stdout]   --> src/process/thread.rs:56:17
[INFO] [stdout]    |
[INFO] [stdout] 56 |                 ResumeThread(h.raw());
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetThreadContext` in this scope
[INFO] [stdout]   --> src/process/thread.rs:61:16
[INFO] [stdout]    |
[INFO] [stdout] 61 |             if SetThreadContext(h.raw(), &ctx) == 0 {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope
[INFO] [stdout]   --> src/process/thread.rs:62:17
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 ResumeThread(h.raw());
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope
[INFO] [stdout]   --> src/process/thread.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |             ResumeThread(h.raw());
[INFO] [stdout]    |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SuspendThread` in this scope
[INFO] [stdout]   --> src/process/thread.rs:73:13
[INFO] [stdout]    |
[INFO] [stdout] 73 |             SuspendThread(h.raw());
[INFO] [stdout]    |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetThreadContext` in this scope
[INFO] [stdout]   --> src/process/thread.rs:76:16
[INFO] [stdout]    |
[INFO] [stdout] 76 |             if GetThreadContext(h.raw(), &mut ctx) == 0 {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope
[INFO] [stdout]   --> src/process/thread.rs:77:17
[INFO] [stdout]    |
[INFO] [stdout] 77 |                 ResumeThread(h.raw());
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetThreadContext` in this scope
[INFO] [stdout]   --> src/process/thread.rs:81:16
[INFO] [stdout]    |
[INFO] [stdout] 81 |             if SetThreadContext(h.raw(), &ctx) == 0 {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope
[INFO] [stdout]   --> src/process/thread.rs:82:17
[INFO] [stdout]    |
[INFO] [stdout] 82 |                 ResumeThread(h.raw());
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope
[INFO] [stdout]   --> src/process/thread.rs:85:13
[INFO] [stdout]    |
[INFO] [stdout] 85 |             ResumeThread(h.raw());
[INFO] [stdout]    |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope
[INFO] [stdout]   --> src/process/thread.rs:93:20
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let snap = CreateToolhelp32Snapshot(TH32CS_SNAPTHREAD, 0);
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Thread32First` in this scope
[INFO] [stdout]    --> src/process/thread.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 |         if Thread32First(snap, &mut e) == 0 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Thread32Next` in this scope
[INFO] [stdout]    --> src/process/thread.rs:111:16
[INFO] [stdout]     |
[INFO] [stdout] 111 |             if Thread32Next(snap, &mut e) == 0 {
[INFO] [stdout]     |                ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope
[INFO] [stdout]   --> src/process/mod.rs:27:20
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let snap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32FirstW` in this scope
[INFO] [stdout]   --> src/process/mod.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 |         if Process32FirstW(snap, &mut e) == 0 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32NextW` in this scope
[INFO] [stdout]   --> src/process/mod.rs:44:16
[INFO] [stdout]    |
[INFO] [stdout] 44 |             if Process32NextW(snap, &mut e) == 0 {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope
[INFO] [stdout]   --> src/process/mod.rs:68:21
[INFO] [stdout]    |
[INFO] [stdout] 68 |             let h = OpenProcess(access, FALSE, pid);
[INFO] [stdout]    |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope
[INFO] [stdout]   --> src/process/mod.rs:91:24
[INFO] [stdout]    |
[INFO] [stdout] 91 |             let snap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32FirstW` in this scope
[INFO] [stdout]   --> src/process/mod.rs:98:16
[INFO] [stdout]    |
[INFO] [stdout] 98 |             if Process32FirstW(snap, &mut e) == 0 {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32NextW` in this scope
[INFO] [stdout]    --> src/process/mod.rs:106:20
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 if Process32NextW(snap, &mut e) == 0 {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope
[INFO] [stdout]   --> src/render/win.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |             RegisterClassExW(&wc);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]   --> src/render/win.rs:46:24
[INFO] [stdout]    |
[INFO] [stdout] 46 |             let hwnd = CreateWindowExW(
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnregisterClassW` in this scope
[INFO] [stdout]   --> src/render/win.rs:61:17
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 UnregisterClassW(class.as_ptr(), h as _);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope
[INFO] [stdout]   --> src/render/win.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |             DestroyWindow(self.hwnd);
[INFO] [stdout]    |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnregisterClassW` in this scope
[INFO] [stdout]   --> src/render/win.rs:74:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |             UnregisterClassW(self.class.as_ptr(), h as _);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope
[INFO] [stdout]   --> src/syscall.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 |         let m = GetModuleHandleW(w.as_ptr());
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/unhook.rs:121:20
[INFO] [stdout]     |
[INFO] [stdout] 121 |                 if VirtualProtect(live_va as *const _, len, PAGE_EXECUTE_READWRITE, &mut old) == 0 {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/unhook.rs:125:17
[INFO] [stdout]     |
[INFO] [stdout] 125 |                 VirtualProtect(live_va as *const _, len, old, &mut old);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope
[INFO] [stdout]    --> src/unhook.rs:166:17
[INFO] [stdout]     |
[INFO] [stdout] 166 |         let m = GetModuleHandleW(w.as_ptr());
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `apwil` (lib test) due to 246 previous errors; 13 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "61085093ee634e0d39deae6d4aa3b6b8130c7775e6cc8ddc1ec5b06d67bd5d08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "61085093ee634e0d39deae6d4aa3b6b8130c7775e6cc8ddc1ec5b06d67bd5d08", kill_on_drop: false }`
[INFO] [stdout] 61085093ee634e0d39deae6d4aa3b6b8130c7775e6cc8ddc1ec5b06d67bd5d08
